[for-linus][PATCH 0/7] tracing: A few more fixes for 6.5

From: Steven Rostedt
Date: Sat Jul 29 2023 - 14:34:35 EST



Tracing fixes for 6.5:

- Fix to /sys/kernel/tracing/per_cpu/cpu*/stats read and entries.
If a resize shrinks the buffer it clears the read count to notify
readers that they need to reset. But the read count is also used for
accounting and this causes the numbers to be off. Instead, create a
separate variable to use to notify readers to reset.

- Fix the ref counts of the "soft disable" mode. The wrong value was
used for testing if soft disable mode should be enabled or disable,
but instead, just change the logic to do the enable and disable
in place when the SOFT_MODE is set or cleared.

- Several kernel-doc fixes

- Removal of unused external declarations

git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git
trace/urgent

Head SHA1: dea499781a1150d285c62b26659f62fb00824fce


Gaosheng Cui (4):
ring-buffer: Fix kernel-doc warnings in ring_buffer.c
tracing/synthetic: Fix kernel-doc warnings in trace_events_synth.c
tracing: Fix kernel-doc warnings in trace_events_trigger.c
tracing: Fix kernel-doc warnings in trace_seq.c

YueHaibing (1):
ftrace: Remove unused extern declarations

Zheng Yejian (2):
ring-buffer: Fix wrong stat of cpu_buffer->read
tracing: Fix warning in trace_buffered_event_disable()

----
include/linux/ftrace.h | 4 ----
kernel/trace/ring_buffer.c | 25 +++++++++++++------------
kernel/trace/trace_events.c | 14 ++++----------
kernel/trace/trace_events_synth.c | 1 +
kernel/trace/trace_events_trigger.c | 2 ++
kernel/trace/trace_seq.c | 1 +
6 files changed, 21 insertions(+), 26 deletions(-)