[for-next][PATCH 00/11] tracing: Updates for v6.9

Steven Rostedt
2024-02-21T14:06:40Z

Steven Rostedt (Google) (5):
eventfs: Add WARN_ON_ONCE() to checks in eventfs_root_lookup()
eventfs: Create eventfs_root_inode to store dentry
tracing: Have saved_cmdlines arrays all in one allocation
tracing: Move open coded processing of tgid_map into helper function
tracing: Move saved_cmdline code into trace_sched_switch.c

Vincent Donnefort (6):
ring-buffer: Zero ring-buffer sub-buffers
ring-buffer: Introducing ring-buffer mapping functions
tracing: Add snapshot refcount
tracing: Allow user-space mapping of the ring-buffer
Documentation: tracing: Add ring-buffer mapping
ring-buffer/selftest: Add ring-buffer mapping test

----
Documentation/trace/index.rst | 1 +
Documentation/trace/ring-buffer-map.rst | 106 ++++
fs/tracefs/event_inode.c | 70 ++-
fs/tracefs/internal.h | 2 -
include/linux/ring_buffer.h | 7 +
include/uapi/linux/trace_mmap.h | 48 ++
kernel/trace/ring_buffer.c | 385 ++++++++++++-
kernel/trace/trace.c | 743 +++++++------------------
kernel/trace/trace.h | 19 +-
kernel/trace/trace_events_trigger.c | 58 +-
kernel/trace/trace_sched_switch.c | 515 +++++++++++++++++
tools/testing/selftests/ring-buffer/Makefile | 8 +
tools/testing/selftests/ring-buffer/config | 2 +
tools/testing/selftests/ring-buffer/map_test.c | 273 +++++++++
14 files changed, 1671 insertions(+), 566 deletions(-)
create mode 100644 Documentation/trace/ring-buffer-map.rst
create mode 100644 include/uapi/linux/trace_mmap.h
create mode 100644 tools/testing/selftests/ring-buffer/Makefile
create mode 100644 tools/testing/selftests/ring-buffer/config
create mode 100644 tools/testing/selftests/ring-buffer/map_test.c