perf tools: Add debug prints
authorAdrian Hunter <adrian.hunter@intel.com>
Wed, 14 Aug 2013 12:48:24 +0000 (15:48 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 16 Aug 2013 20:17:58 +0000 (17:17 -0300)
commite3e1a54fce81ee045dd152deb5435b136cb0b75f
tree136a7a440b953cce38dc8f347b9a76855ff572e0
parent8afb4c018e21c882c8fad196772ef74d494185e2
perf tools: Add debug prints

It is useful to see the arguments to perf_event_open and whether the
perf events ring buffer was mmapped per-cpu or per-thread.

That information will now be displayed when verbose is 2 i.e option -vv.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1376484517-5339-3-git-send-email-adrian.hunter@intel.com
[ fixup trivial conflict with fcb14f7 ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/evlist.c
tools/perf/util/evsel.c