aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-script.c
diff options
context:
space:
mode:
authorDavid Ahern <[email protected]>2011-03-25 19:11:11 +0000
committerArnaldo Carvalho de Melo <[email protected]>2011-03-29 16:40:27 +0000
commitca6a42586fae639ff9e5285d9bdc550fcb1b8d41 (patch)
tree0eeb89ae0aaf2654ca3dbdc8d8057b97fef69545 /tools/perf/builtin-script.c
parentperf tools: Fixup exit path when not able to open events (diff)
downloadkernel-ca6a42586fae639ff9e5285d9bdc550fcb1b8d41.tar.gz
kernel-ca6a42586fae639ff9e5285d9bdc550fcb1b8d41.zip
perf tools: Emit clearer message for sys_perf_event_open ENOENT return
Resend of patch sent back in January 2011 in light of recent confusion around unsupported events for a given platform. Improve sys_perf_event_open ENOENT return handling in top and record, just like 5a3446b does for stat. Retry of Arnaldo's patch using ui_warning instead of die which allows the fallback from hardware cycles to software clock. Cc: Frederic Weisbecker <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: [email protected] LKML-Reference: <[email protected]> Signed-off-by: David Ahern <[email protected]> [ committer note: Some adjustments to make it apply to newer codebase ] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions