Skip to contentSkip to conversation

tracing: Fixes for 7.1

GIT PULL Merged Steven Rostedt 2 participants 2 messages May 17

Subsystems (2)
lore
Share & tools
lore

Steven Rostedt

author maintainer
#0 lore raw

Linus,

tracing fixes for 7.1:

- Add more functions to the remote allowed list

randconfig found more functions that are allowed for the remote code for s390 and arm. Add them to the allowed list.

- Fix remote_test error path

If one of the simple ring buffers fails to load, the code is supposed to rollback its initialized buffers. Instead of rolling back the buffers for the failed load, it uses the global variable and rolls back all the successfully loaded buffers.

Please pull the latest trace-v7.1-rc3 tree, which can be found at:

git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git
trace-v7.1-rc3

Tag SHA1: 0d57a98dab81f85b0baf3ddb0aa97e1df11d03c6 Head SHA1: 55a0005518195fdea1fd2991b07644f8dc97ea8e

Arnd Bergmann (1):
ring-buffer remote: Avoid unexpected symbol warnings (arm, s390)

Vincent Donnefort (1):
tracing: Fix desc in error path for the trace remote test module

----

 kernel/trace/Makefile      | 4 ++--
 kernel/trace/remote_test.c | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

---------------------------

kernel/trace/Makefile +2 -2
index 1decdce8cbef..9b0834134cae 100644
@@ -143,8 +143,8 @@ obj-$(CONFIG_TRACE_REMOTE_TEST) += remote_test.o
 targets += undefsyms_base.o
 KASAN_SANITIZE_undefsyms_base.o := y
 
-UNDEFINED_ALLOWLIST = __asan __gcov __kasan __kcsan __hwasan __sancov __sanitizer __tsan __ubsan __x86_indirect_thunk \
-		      __msan simple_ring_buffer \
+UNDEFINED_ALLOWLIST = __asan __gcov __kasan __kcsan __hwasan __sancov __sanitizer __tsan __ubsan __msan \
+		      __aeabi_unwind_cpp __s390_indirect_jump __x86_indirect_thunk simple_ring_buffer \
 		      $(shell $(NM) -u $(obj)/undefsyms_base.o 2>/dev/null | awk '{print $$2}')
 
 quiet_cmd_check_undefined = NM      $<
kernel/trace/remote_test.c +2 -2
index 6c1b7701ddae..a3e2c9b606eb 100644
@@ -110,9 +110,9 @@ static struct trace_buffer_desc *remote_test_load(unsigned long size, void *unus
 	return remote_test_buffer_desc;
 
 err_unload:
-	for_each_ring_buffer_desc(rb_desc, cpu, remote_test_buffer_desc)
+	for_each_ring_buffer_desc(rb_desc, cpu, desc)
 		remote_test_unload_simple_rb(rb_desc->cpu);
-	trace_remote_free_buffer(remote_test_buffer_desc);
+	trace_remote_free_buffer(desc);
 
 err_free_desc:
 	kfree(desc);
merge bot Merged
#1 lore raw
The pull request you sent on Sun, 17 May 2026 09:17:19 -0400:

The pull request you sent on Sun, 17 May 2026 09:17:19 -0400:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git trace-v7.1-rc3

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/e5d505e3664bb31f59776b7b3873965228fe944f

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html