perf tools: Add support for displaying event parser debug info
authorJiri Olsa <jolsa@redhat.com>
Mon, 21 May 2012 07:12:50 +0000 (09:12 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 22 May 2012 14:21:17 +0000 (11:21 -0300)
commit82ba1f2f614871b388cb1bd58594507b6f0f2b79
tree27947bb93455777ebc75f14afc1f2f1b97d3186e
parentf50246e2e2e33aacc68ac3ec41cf2d6a08860bc4
perf tools: Add support for displaying event parser debug info

Adding PARSER_DEBUG Makefile variable to enable building event scanner/
parser with debug enabled. This results in verbose output right out of
the scanner/parser.

It's useful for debuging the event parser. Keeping this only for event
parser so far.

Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1337584373-2741-3-git-send-email-jolsa@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Makefile
tools/perf/util/parse-events.c