[for-next][PATCH 00/12] tracing: Updates for 6.3

From: Steven Rostedt
Date: Wed Jan 25 2023 - 12:14:13 EST



git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git
trace/for-next

Head SHA1: dc513fd5321d4c15ac1f820c224b2e5220b6e14f


Jia-Ju Bai (1):
tracing: Add NULL checks for buffer in ring_buffer_free_read_page()

Mark Rutland (1):
ftrace: Add sample with custom ops

Steven Rostedt (Google) (10):
tracing: Add a way to filter function addresses to function names
tracing/selftests: Add test for event filtering on function name
tracing: Simplify calculating entry size using struct_size()
tracing: Allow stacktraces to be saved as histogram variables
tracing: Allow synthetic events to pass around stacktraces
tracing/histogram: Add stacktrace type
tracing/histogram: Document variable stacktrace
tracing/histogram: Add simple tests for stacktrace usage of synthetic events
perf/tracing: Use stage6 of tracing to not duplicate macros
bpf/tracing: Use stage6 of tracing to not duplicate macros

----
Documentation/trace/events.rst | 12 +
Documentation/trace/histogram.rst | 129 +++++++++++
include/trace/bpf_probe.h | 45 +---
include/trace/perf.h | 46 +---
include/trace/stages/stage6_event_callback.h | 3 +
kernel/trace/ring_buffer.c | 7 +-
kernel/trace/trace.c | 2 +-
kernel/trace/trace.h | 4 +
kernel/trace/trace_events.c | 2 +-
kernel/trace/trace_events_filter.c | 93 +++++++-
kernel/trace/trace_events_hist.c | 63 ++++--
kernel/trace/trace_events_synth.c | 83 ++++++-
kernel/trace/trace_synth.h | 1 +
samples/Kconfig | 7 +
samples/Makefile | 1 +
samples/ftrace/Makefile | 1 +
samples/ftrace/ftrace-ops.c | 252 +++++++++++++++++++++
.../ftrace/test.d/filter/event-filter-function.tc | 58 +++++
.../inter-event/trigger-synthetic-event-stack.tc | 24 ++
.../inter-event/trigger-synthetic-event-syntax.tc | 6 +
20 files changed, 729 insertions(+), 110 deletions(-)
create mode 100644 samples/ftrace/ftrace-ops.c
create mode 100644 tools/testing/selftests/ftrace/test.d/filter/event-filter-function.tc
create mode 100644 tools/testing/selftests/ftrace/test.d/trigger/inter-event/trigger-synthetic-event-stack.tc