Skip to content

tracing: A few more fixes for 6.5

Steven Rostedt lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7ring-buffer: Fix wrong stat of cpu_buffer->readkernel/trace/ring_buffer.c+12 -100 replies
2/7ring-buffer: Fix kernel-doc warnings in ring_buffer.ckernel/trace/ring_buffer.c+1 -20 replies
3/7tracing/synthetic: Fix kernel-doc warnings in trace_events_synth.ckernel/trace/trace_events_synth.c+1 -00 replies
4/7tracing: Fix kernel-doc warnings in trace_events_trigger.ckernel/trace/trace_events_trigger.c+2 -00 replies
5/7tracing: Fix kernel-doc warnings in trace_seq.ckernel/trace/trace_seq.c+1 -00 replies
6/7ftrace: Remove unused extern declarationsinclude/linux/ftrace.h+0 -40 replies
7/7tracing: Fix warning in trace_buffered_event_disable()kernel/trace/trace_events.c+4 -100 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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