diff options
author | Oleg Nesterov <[email protected]> | 2013-06-17 19:02:07 +0200 |
---|---|---|
committer | Steven Rostedt <[email protected]> | 2013-07-18 21:31:28 -0400 |
commit | 421c7860c6e1989da3962fafdd6699316c9f8e20 (patch) | |
tree | a3247de06867de070ae709bcdca412e0a7900d62 /lib/mpi/mpi-cmp.c | |
parent | b8ebfd3f7113b63dda93d76bfec638c00e6bd514 (diff) |
tracing/syscall: Avoid perf_trace_buf_*() if sys_data->perf_events is empty
perf_trace_buf_prepare() + perf_trace_buf_submit(head, task => NULL)
make no sense if hlist_empty(head). Change perf_syscall_enter/exit()
to check sys_data->{enter,exit}_event->perf_events beforehand.
Link: http://lkml.kernel.org/r/[email protected]
Acked-by: Peter Zijlstra <[email protected]>
Signed-off-by: Oleg Nesterov <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions