summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2024-12-05 10:17:55 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2024-12-05 10:17:55 -0800
commit9d6a414ad31e8eb296cd6f2c1834b2c6994960a0 (patch)
treef1ba3bf5be7c524b8d5df5e4677e53e580cadaf1 /include
parent2a770b49b1bf00fca5473cb386eaf36d21d17d4b (diff)
parentdc1b157b828dfe412c776ac1dd8db158f6016b39 (diff)
downloadlinux-9d6a414ad31e8eb296cd6f2c1834b2c6994960a0.tar.gz
linux-9d6a414ad31e8eb296cd6f2c1834b2c6994960a0.tar.bz2
linux-9d6a414ad31e8eb296cd6f2c1834b2c6994960a0.zip
Merge tag 'trace-v6.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace
Pull tracing fixes from Steven Rostedt: - Fix trace histogram sort function cmp_entries_dup() The sort function cmp_entries_dup() returns either 1 or 0, and not -1 if parameter "a" is less than "b" by memcmp(). - Fix archs that call trace_hardirqs_off() without RCU watching Both x86 and arm64 no longer call any tracepoints with RCU not watching. It was assumed that it was safe to get rid of trace_*_rcuidle() version of the tracepoint calls. This was needed to get rid of the SRCU protection and be able to implement features like faultable traceponits and add rust tracepoints. Unfortunately, there were a few architectures that still relied on that logic. There's only one file that has tracepoints that are called without RCU watching. Add macro logic around the tracepoints for architectures that do not have CONFIG_ARCH_WANTS_NO_INSTR defined will check if the code is in the idle path (the only place RCU isn't watching), and enable RCU around calling the tracepoint, but only do it if the tracepoint is enabled. * tag 'trace-v6.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace: tracing: Fix archs that still call tracepoints without RCU watching tracing: Fix cmp_entries_dup() to respect sort() comparison rules
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions