diff options
author | Tom Zanussi <zanussi@kernel.org> | 2020-02-11 00:06:48 +0100 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2020-02-11 03:58:19 +0100 |
commit | d090409abbdd1fcbdfd6ed66612390ba8c814749 (patch) | |
tree | ba590fed50e2fc5f496d7b4f9f46bc2156fb24b2 /kernel/tracepoint.c | |
parent | tools/bootconfig: Suppress non-error messages (diff) | |
download | linux-d090409abbdd1fcbdfd6ed66612390ba8c814749.tar.xz linux-d090409abbdd1fcbdfd6ed66612390ba8c814749.zip |
tracing: Add missing nest end to synth_event_trace_start() error case
If the ring_buffer reserve in synth_event_trace_start() fails, the
matching ring_buffer_nest_end() should be called in the error code,
since nothing else will ever call it in this case.
Link: http://lkml.kernel.org/r/20abc444b3eeff76425f895815380abe7aa53ff8.1581374549.git.zanussi@kernel.org
Fixes: 8dcc53ad956d2 ("tracing: Add synth_event_trace() and related functions")
Signed-off-by: Tom Zanussi <zanussi@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'kernel/tracepoint.c')
0 files changed, 0 insertions, 0 deletions