[for-linus][PATCH 0/4] tracing: Fixes for v6.6-rc3

From: Steven Rostedt
Date: Sat Sep 30 2023 - 16:37:26 EST


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