summaryrefslogtreecommitdiff
path: root/kernel/debug
diff options
context:
space:
mode:
authorSteven Rostedt <rostedt@goodmis.org>2026-11-19 12:43:19 -0500
committerSteven Rostedt <rostedt@goodmis.org>2026-11-20 10:02:38 -0500
commit39bc1fdbce1e5f435f8d02d57a9415735690bb1f (patch)
tree3825dbebc2a248708f83f6221c3194a3a9bb80d2 /kernel/debug
parentabf7185109d3986c1f945641d2fb20e44527f7c6 (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 'kernel/debug')
0 files changed, 0 insertions, 0 deletions