Skip to content

tracing: Updates for 6.3

Steven Rostedt bpf linux-kselftest lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12tracing: Add a way to filter function addresses to function namesDocumentation/trace/events.rst kernel/trace/trace_events.c kernel/trace/trace_events_filter.c+105 -20 replies
2/12tracing/selftests: Add test for event filtering on function nametools/testing/selftests/ftrace/test.d/filter/event-filter-function.tc+58 -00 replies
3/12ftrace: Add sample with custom opssamples/Kconfig samples/Makefile samples/ftrace/Makefile +1 more+261 -00 replies
4/12tracing: Add NULL checks for buffer in ring_buffer_free_read_page()kernel/trace/ring_buffer.c+6 -10 replies
5/12tracing: Simplify calculating entry size using struct_size()kernel/trace/trace_events_synth.c+1 -20 replies
6/12tracing: Allow stacktraces to be saved as histogram variableskernel/trace/trace_events_hist.c+42 -100 replies
7/12tracing: Allow synthetic events to pass around stacktraceskernel/trace/trace.h kernel/trace/trace_events_hist.c kernel/trace/trace_events_synth.c +1 more+87 -50 replies
8/12tracing/histogram: Add stacktrace typekernel/trace/trace_events_hist.c+4 -00 replies
9/12tracing/histogram: Document variable stacktraceDocumentation/trace/histogram.rst+129 -00 replies
10/12tracing/histogram: Add simple tests for stacktrace usage of synthetic eventskernel/trace/trace.c tools/testing/selftests/ftrace/test.d/trigger/inter-event/trigger-synthetic-event-stack.tc tools/testing/selftests/ftrace/test.d/trigger/inter-event/trigger-synthetic-event-syntax.tc+31 -10 replies
11/12perf/tracing: Use stage6 of tracing to not duplicate macrosinclude/trace/perf.h include/trace/stages/stage6_event_callback.h+4 -450 replies
12/12bpf/tracing: Use stage6 of tracing to not duplicate macrosinclude/trace/bpf_probe.h+1 -440 replies

Reviews trailers per patch

5 of 12 patches have a Reviewed-by or Acked-by.

PatchRoss ZwislerShuah KhanPeter Zijlstra (Intel)Alexei StarovoitovMasami Hiramatsu (Google)
1/12R-b
2/12R-b A-b
3/12A-b
4/12
5/12
6/12
7/12
8/12
9/12
10/12
11/12A-b
12/12A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v1 thread

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

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