aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorDavid Carrillo-Cisneros <[email protected]>2016-08-17 20:55:04 +0000
committerIngo Molnar <[email protected]>2016-08-18 08:35:52 +0000
commit71e7bc2bab77e64882c031c2af943c3256c1adb0 (patch)
treec8a876b227ae2fa3098c2a19d1870784b116bea3 /tools/perf/util/scripting-engines/trace-event-perl.c
parentperf/core: Enable mapping of the stop filters (diff)
downloadkernel-71e7bc2bab77e64882c031c2af943c3256c1adb0.tar.gz
kernel-71e7bc2bab77e64882c031c2af943c3256c1adb0.zip
perf/core: Check return value of the perf_event_read() IPI
The call to smp_call_function_single in perf_event_read() may fail if an invalid or not online CPU index is passed. Warn user if such bug is present and return error. Signed-off-by: David Carrillo-Cisneros <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Kan Liang <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Paul Turner <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Vegard Nossum <[email protected]> Cc: Vince Weaver <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions