diff options
| author | Adrian Hunter <[email protected]> | 2013-11-01 13:51:29 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2013-11-04 15:18:17 +0000 |
| commit | f852fd621ca19f557f2e3d05900366be7c7afb83 (patch) | |
| tree | 23da3a0b5e20b418a2f549e9c0d7da1ea8481a6f /tools/perf/builtin-script.c | |
| parent | perf tools: Get current comm instead of last one (diff) | |
| download | kernel-f852fd621ca19f557f2e3d05900366be7c7afb83.tar.gz kernel-f852fd621ca19f557f2e3d05900366be7c7afb83.zip | |
perf evsel: Add a debug print if perf_event_open fails
There is a debug print (at verbose level 2) for each call to
perf_event_open. Add another debug print if the call fails, and print
the error number.
Signed-off-by: Adrian Hunter <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions
