Skip to content

Commit ef742dc

Browse files
committed
tracing: Remove notrace from trace_event_raw_event_synth()
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>
1 parent 4564109 commit ef742dc

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

kernel/trace/trace_events_synth.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -499,9 +499,9 @@ static unsigned int trace_stack(struct synth_trace_event *entry,
499499
return len;
500500
}
501501

502-
static notrace void trace_event_raw_event_synth(void *__data,
503-
u64 *var_ref_vals,
504-
unsigned int *var_ref_idx)
502+
static void trace_event_raw_event_synth(void *__data,
503+
u64 *var_ref_vals,
504+
unsigned int *var_ref_idx)
505505
{
506506
unsigned int i, n_u64, val_idx, len, data_size = 0;
507507
struct trace_event_file *trace_file = __data;

0 commit comments

Comments
 (0)