summaryrefslogtreecommitdiff
path: root/include/linux/i2c/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorSteven Rostedt <rostedt@goodmis.org>2026-02-07 22:24:21 -0500
committerSteven Rostedt (Google) <rostedt@goodmis.org>2026-02-08 21:01:12 -0500
commit3e6c8f80e5ddd0644e509547c61366a2c09117b0 (patch)
tree7104c56ecb3c53c8ae288812566305141cc5a918 /include/linux/i2c/git@git.tavy.me:linux.git
parent0e730bc067e7a790d61344dbf6d9dfdce7f99ea3 (diff)
tracing: Move ftrace_trace_stack() out of trace.c and into trace.h
The file trace.c has become a catchall for most things tracing. Start making it smaller by breaking out various aspects into their own files. Make ftrace_trace_stack() into a static inline that tests if stack tracing is enabled and if so to call __ftrace_trace_stack() to do the stack trace. This keeps the test inlined in the fast paths and only does the function call if stack tracing is enabled. 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/20260208032449.974218132@kernel.org Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'include/linux/i2c/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions