perf tools: Fix parsing of 64 bit raw config value for 32 bit
authorRobert Richter <robert.richter@amd.com>
Tue, 7 Aug 2012 17:43:13 +0000 (19:43 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 8 Aug 2012 15:39:56 +0000 (12:39 -0300)
commitb527bab59be7ca2154f644fcc4b9e3c267a6d855
treeaa4f3ad8b6a925279e128d51cc73bb70b87f8fec
parent2ede8303db75ead3250f95c3390e6ba200cbe7d4
perf tools: Fix parsing of 64 bit raw config value for 32 bit

perf record fails on 32 bit with:

 invalid or unsupported event: 'r40000F7E0'

Fixing this by parsing 64 bit num values.

Signed-off-by: Robert Richter <robert.richter@amd.com>
Cc: Ingo Molnar <mingo@kernel.org>
Link: http://lkml.kernel.org/r/1344361396-7237-4-git-send-email-robert.richter@amd.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/parse-events.c
tools/perf/util/parse-events.h
tools/perf/util/parse-events.l
tools/perf/util/parse-events.y