diff options
author | Oleg Nesterov <[email protected]> | 2013-06-17 19:02:04 +0200 |
---|---|---|
committer | Steven Rostedt <[email protected]> | 2013-07-18 21:31:27 -0400 |
commit | b8ebfd3f7113b63dda93d76bfec638c00e6bd514 (patch) | |
tree | 5a72a20c5fa86fe1c284308111132345f249c671 /lib/test-string_helpers.c | |
parent | d611851b421731e2afd9cb956daae001af57a423 (diff) |
tracing/function: Avoid perf_trace_buf_*() if event_function.perf_events is empty
perf_trace_buf_prepare() + perf_trace_buf_submit(head, task => NULL)
make no sense if hlist_empty(head). Change perf_ftrace_function_call()
to check event_function.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/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions