Skip to content

tracing: Fixes for v6.6-rc3

Steven Rostedt lkml stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 of 4 patches 2 repliesIn review

2 of 4 patches are in this archive. The cover letter announces 4.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ring-buffer: Update "shortest_full" in pollingkernel/trace/ring_buffer.c+3 -00 replies
4/4eventfs: Test for dentries array allocated in eventfs_release()fs/tracefs/event_inode.c+1 -10 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchJulia LawallMasami Hiramatsu (Google)
1/4T-b
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.6-rc3

Tracing fixes for v6.6-rc3:

- Make sure 32 bit applications using user events have aligned access when running on a 64 bit kernel.

- Add cond_resched in the loop that handles converting enums in print_fmt string is trace events.

- Fix premature wake ups of polling processes in the tracing ring buffer. When a task polls waiting for a percentage of the ring buffer to be filled, the writer still will wake it up at every event. Add the polling's percentage to the "shortest_full" list to tell the writer when to wake it up.

- For eventfs dir lookups on dynamic events, an event system's only event could be removed, leaving its dentry with no children. This is totally legitimate. But on eventfs_release() it must not access the children array, as it is only allocated when the dentry has children.

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

Head SHA1: 2598bd3ca8dcf5bbca1161ee5b271b432398da37

Beau Belgrave (1):
tracing/user_events: Align set_bit() address for all archs

Clément Léger (1):
tracing: relax trace_event_eval_update() execution with cond_resched()

Steven Rostedt (Google) (2):
ring-buffer: Update "shortest_full" in polling
eventfs: Test for dentries array allocated in eventfs_release()

----

 fs/tracefs/event_inode.c         |  2 +-
 kernel/trace/ring_buffer.c       |  3 +++
 kernel/trace/trace_events.c      |  1 +
 kernel/trace/trace_events_user.c | 58 +++++++++++++++++++++++++++++++++++-----
 4 files changed, 56 insertions(+), 8 deletions(-)