diff options
| author | Steven Rostedt <rostedt@goodmis.org> | 2025-11-05 11:19:11 -0500 |
|---|---|---|
| committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2025-11-10 14:28:31 -0500 |
| commit | 5aa0d18df08a87c1d71a39c4a84c5ec63ada67c0 (patch) | |
| tree | 01bac50fd123c62441636df22dc95b99938c4d86 /kernel/trace/trace_functions.c | |
| parent | c7bed15ccf238fb2e47938c522a49ddc4a919f7d (diff) | |
tracing: Have add_tracer_options() error pass up to callers
The function add_tracer_options() can fail, but currently it is ignored.
Pass the status of add_tracer_options() up to adding a new tracer as well
as when an instance is created. Have the instance creation fail if the
add_tracer_options() fail.
Only print a warning for the top level instance, like it does with other
failures.
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Link: https://patch.msgid.link/20251105161935.375299297@kernel.org
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace_functions.c')
0 files changed, 0 insertions, 0 deletions