Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tracing/function: Avoid perf_trace_buf_*() if event_function.perf_eve…
…nts 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]>
- Loading branch information