[for-linus][PATCH 0/2] tracing: A couple more fixes for 6.11

From: Steven Rostedt
Date: Mon Sep 09 2024 - 15:51:01 EST



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: eac6c0f8f297db0ee4434d076faf45a594c42b42


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(-)