]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
tracing: Remove notrace from trace_event_raw_event_synth()
authorSteven Rostedt <rostedt@goodmis.org>
Fri, 23 Jan 2026 01:45:26 +0000 (20:45 -0500)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Thu, 29 Jan 2026 02:01:09 +0000 (21:01 -0500)
When debugging the synthetic events, being able to function trace its
functions is very useful (now that CONFIG_FUNCTION_SELF_TRACING is
available). For some reason trace_event_raw_event_synth() was marked as
"notrace", which was totally unnecessary as all of the tracing directory
had function tracing disabled until the recent FUNCTION_SELF_TRACING was
added.

Remove the notrace annotation from trace_event_raw_event_synth() as
there's no reason to not trace it when tracing synthetic event functions.

Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Link: https://patch.msgid.link/20260122204526.068a98c9@gandalf.local.home
Acked-by: Tom Zanussi <zanussi@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
kernel/trace/trace_events_synth.c

index 45c187e77e21914859377082190240b7ff75a242..ce42fbf16f4af000bf34ddf152d86365c62f5e76 100644 (file)
@@ -499,9 +499,9 @@ static unsigned int trace_stack(struct synth_trace_event *entry,
        return len;
 }
 
-static notrace void trace_event_raw_event_synth(void *__data,
-                                               u64 *var_ref_vals,
-                                               unsigned int *var_ref_idx)
+static void trace_event_raw_event_synth(void *__data,
+                                       u64 *var_ref_vals,
+                                       unsigned int *var_ref_idx)
 {
        unsigned int i, n_u64, val_idx, len, data_size = 0;
        struct trace_event_file *trace_file = __data;