Skip to contentSkip to conversation

tracing: A couple more fixes for 6.11

PATCH In review Steven Rostedt 1 participant 3 messages Sep 9, 2024

lore
Share & tools
lore
#0 lore raw

cover tracing: A couple more fixes for 6.11

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(-)
#1 lore raw

Looks like my system upgrade broke quilt, or at least the send mail portion of it. It went into an infinite loop sending this, and I had to kill it :-p and it didn't send any of the patches.

I'll go and see what broke.

-- Steve

Quoted 31 lines · On Mon, 09 Sep 2024 15:50:35 -0400 Steven Rostedt <[email protected]> wrote:

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(-)
#2 lore raw
Quoted 5 lines · On Mon, 9 Sep 2024 15:55:37 -0400 Steven Rostedt <[email protected]> wrote:

Looks like my system upgrade broke quilt, or at least the send mail portion of it. It went into an infinite loop sending this, and I had to kill it :-p and it didn't send any of the patches.

I'll go and see what broke.

Although this is the first quilt sendmail I did after an upgrade, it wasn't the cause of the breakage. One of my Cc's was missing a '"' where the email only had one of them and that confused quilt.

Will send again. Stay tuned.

-- Steve