More tracing fixes for 6.11:
- Move declaration of interface_lock outside of CONFIG_TIMERLAT_TRACER
The fix to some locking races moved the declaration of the
interface_lock up in the file, but also moved it into the
CONFIG_TIMERLAT_TRACER #ifdef block, breaking the build when
that wasn't set. Move it further up and out of that #ifdef block.
- Remove unused function run_tracer_selftest() stub
When CONFIG_FTRACE_STARTUP_TEST is not set the stub function
run_tracer_selftest() is not used and clang is warning about it.
Remove the function stub as it is not needed.
git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git
trace/urgent
Head SHA1: 4e378158e5c15bd237a6ff44b7abb9184d61208c
Andy Shevchenko (1):
tracing: Drop unused helper function to fix the build
Steven Rostedt (1):
tracing/osnoise: Fix build when timerlat is not enabled
----
kernel/trace/trace.c | 4 ----
kernel/trace/trace_osnoise.c | 10 +++++-----
2 files changed, 5 insertions(+), 9 deletions(-)