Skip to content

tracing: Fixes for v6.9

Steven Rostedt lkml stable 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4eventfs: Fix kernel-doc comments to functionsfs/tracefs/event_inode.c+10 -40 replies
2/4tracing: Fix FTRACE_RECORD_RECURSION_SIZE Kconfig entrykernel/trace/Kconfig+1 -10 replies
3/4tracing: hide unused ftrace_event_id_fopskernel/trace/trace_events.c+4 -00 replies
4/4ring-buffer: Only update pages_touched when a new page is touchedkernel/trace/ring_buffer.c+3 -30 replies

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchRandy DunlapMasami Hiramatsu (Google)
1/4
2/4R-b
3/4
4/4A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [for-linus][PATCH 0/4] tracing: Fixes for v6.9

Tracing fixes for 6.9:

- Fix the buffer_percent accounting as it is dependent on three variables:
1) pages_read - number of subbuffers read
2) pages_lost - number of subbuffers lost due to overwrite
3) pages_touched - number of pages that a writer entered These three counters only increment, and to know how many active pages there are on the buffer at any given time, the pages_read and pages_lost are subtracted from pages_touched. But the pages touched was incremented whenever any writer went to the next subbuffer even if it wasn't the only one, so it was incremented more than it should be causing the counter for how many subbuffers currently have content incorrect, which caused the buffer_percent that holds waiters until the ring buffer is filled to a given percentage to wake up early.

- Fix warning of unused functions when PERF_EVENTS is not configured in

- Replace bad tab with space in Kconfig for FTRACE_RECORD_RECURSION_SIZE

- Fix to some kerneldoc function comments in eventfs code.

Arnd Bergmann (1):
tracing: hide unused ftrace_event_id_fops

Prasad Pandit (1):
tracing: Fix FTRACE_RECORD_RECURSION_SIZE Kconfig entry

Steven Rostedt (Google) (1):
ring-buffer: Only update pages_touched when a new page is touched

Yang Li (1):
eventfs: Fix kernel-doc comments to functions

----

 fs/tracefs/event_inode.c    | 14 ++++++++++----
 kernel/trace/Kconfig        |  2 +-
 kernel/trace/ring_buffer.c  |  6 +++---
 kernel/trace/trace_events.c |  4 ++++
 4 files changed, 18 insertions(+), 8 deletions(-)