diff options
| author | Steven Rostedt <rostedt@goodmis.org> | 2026-11-19 12:43:19 -0500 |
|---|---|---|
| committer | Steven Rostedt <rostedt@goodmis.org> | 2026-11-20 10:02:38 -0500 |
| commit | 39bc1fdbce1e5f435f8d02d57a9415735690bb1f (patch) | |
| tree | 3825dbebc2a248708f83f6221c3194a3a9bb80d2 /rust/kernel/alloc | |
| parent | abf7185109d3986c1f945641d2fb20e44527f7c6 (diff) | |
tracing: Add notrace to event functions that hook to ftrace
A few functions in trace_events.c are used to hook to the ftrace function
hooks. Before CONFIG_FUNCTION_SELF_TRACING was added, these functions were not
marked for tracing because the entire directory was set to "notrace". But
now that certain files can be traced by ftrace when the
CONFIG_FUNCTION_SELF_TRACING config is set, individual functions that use ftrace
must be annotated with "notrace" otherwise they can trigger a triple fault
when called.
Annotate the trace_events.c functions that are attached to ftrace with
"notrace.
Cc: stable@vger.kernel.org
Link: https://patch.msgid.link/20261119124319.3a8bfe50@gandalf.local.home
Fixes: f93a7d0caccd6 ("ftrace: Allow tracing of some of the tracing code")
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'rust/kernel/alloc')
0 files changed, 0 insertions, 0 deletions
