summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/probe-finder.c
diff options
context:
space:
mode:
authorDavid Ahern <daahern@cisco.com>2011-03-25 13:11:11 -0600
committerArnaldo Carvalho de Melo <acme@redhat.com>2011-03-29 13:40:27 -0300
commitca6a42586fae639ff9e5285d9bdc550fcb1b8d41 (patch)
tree0eeb89ae0aaf2654ca3dbdc8d8057b97fef69545 /tools/perf/util/probe-finder.c
parentc286c419c784c238cd699be37fec7a9acc30d89f (diff)
downloadblackbird-op-linux-ca6a42586fae639ff9e5285d9bdc550fcb1b8d41.tar.gz
blackbird-op-linux-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 <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: linux-kernel@vger.kernel.org LKML-Reference: <1301080271-20945-1-git-send-email-daahern@cisco.com> Signed-off-by: David Ahern <daahern@cisco.com> [ committer note: Some adjustments to make it apply to newer codebase ] Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/probe-finder.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud