]> git.baikalelectronics.ru Git - kernel.git/commit
perf tools: Emit clearer message for sys_perf_event_open ENOENT return
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 10 Jan 2011 15:36:24 +0000 (13:36 -0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 10 Jan 2011 15:36:24 +0000 (13:36 -0200)
commitc76991680e1da5349a353e821683fcf9ab1af0aa
tree638bfb5be868a450fd1802e672aa9e7ab9bb76c8
parent122da40c26dfbdd8352a08d69c9e446f24e46e71
perf tools: Emit clearer message for sys_perf_event_open ENOENT return

Improve sys_perf_event_open ENOENT return handling in top and record, just
like 122da40 does for stat.

Cc: David Ahern <daahern@cisco.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Tom Zanussi <tzanussi@gmail.com>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-record.c
tools/perf/builtin-top.c