Skip to content

tracing: Updates for v5.18

Steven Rostedt 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: Fix allocation of last_cmd in last_cmd_set()kernel/trace/trace_events_hist.c+4 -30 replies
2/12user_events: Fix potential uninitialized pointer while parsing fieldkernel/trace/trace_events_user.c+3 -10 replies
3/12tracing: Fix last_cmd_set() string management in histogram codekernel/trace/trace_events_hist.c+4 -20 replies
4/12tracing: Allow custom events to be added to the tracefs directorykernel/trace/trace_events.c+2 -00 replies
5/12tracing: Add sample code for custom trace eventssamples/Kconfig samples/Makefile samples/trace_events/Makefile +1 more+281 -10 replies
6/12tracing: Move the defines to create TRACE_EVENTS into their own filesinclude/trace/stages/init.h include/trace/stages/stage1_defines.h include/trace/stages/stage2_defines.h +6 more+527 -4910 replies
7/12tracing: Add TRACE_CUSTOM_EVENT() macroinclude/linux/trace_events.h include/trace/define_custom_trace.h include/trace/trace_custom_events.h +3 more+441 -2370 replies
8/12user_events: Prevent dyn_event delete racing with ioctl add/deletekernel/trace/trace_events_user.c+40 -60 replies
9/12tracing: Fix strncpy warning in trace_events_synth.ckernel/trace/trace_events_synth.c+1 -40 replies
10/12tracing: Have TRACE_DEFINE_ENUM affect trace event types as wellkernel/trace/trace_events.c+28 -00 replies
11/12tracing: Add snapshot at end of kernel boot upDocumentation/admin-guide/kernel-parameters.txt include/linux/ftrace.h kernel/trace/ftrace.c +1 more+38 -10 replies
12/12tracing/user_events: Use alloc_pages instead of kzalloc() for register pageskernel/trace/trace_events_user.c+8 -60 replies

Reviews trailers per patch

None of the 12 patches has a Reviewed-by or Acked-by.

PatchRitesh Harjani
1/12
2/12
3/12
4/12
5/12
6/12
7/12
8/12
9/12
10/12T-b
11/12
12/12

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-next][PATCH 00/12] tracing: Updates for v5.18

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

Head SHA1: bc47ee4844d6b7d7351536cd99d35848c4449689

Beau Belgrave (2):
user_events: Fix potential uninitialized pointer while parsing field
user_events: Prevent dyn_event delete racing with ioctl add/delete

Steven Rostedt (Google) (9):
tracing: Fix allocation of last_cmd in last_cmd_set()
tracing: Fix last_cmd_set() string management in histogram code
tracing: Allow custom events to be added to the tracefs directory
tracing: Add sample code for custom trace events
tracing: Move the defines to create TRACE_EVENTS into their own files
tracing: Add TRACE_CUSTOM_EVENT() macro
tracing: Have TRACE_DEFINE_ENUM affect trace event types as well
tracing: Add snapshot at end of kernel boot up tracing/user_events: Use alloc_pages instead of kzalloc() for register pages

Tom Zanussi (1):
tracing: Fix strncpy warning in trace_events_synth.c

----

 Documentation/admin-guide/kernel-parameters.txt |   8 +
 include/linux/ftrace.h                          |  11 +-
 include/linux/trace_events.h                    |  24 +-
 include/trace/define_custom_trace.h             |  77 ++++
 include/trace/stages/init.h                     |  37 ++
 include/trace/stages/stage1_defines.h           |  45 +++
 include/trace/stages/stage2_defines.h           |  48 +++
 include/trace/stages/stage3_defines.h           | 129 ++++++
 include/trace/stages/stage4_defines.h           |  57 +++
 include/trace/stages/stage5_defines.h           |  83 ++++
 include/trace/stages/stage6_defines.h           |  86 ++++
 include/trace/stages/stage7_defines.h           |  34 ++
 include/trace/trace_custom_events.h             | 221 +++++++++++
 include/trace/trace_events.h                    | 499 +-----------------------
 kernel/trace/ftrace.c                           |   2 +
 kernel/trace/trace.c                            |  18 +
 kernel/trace/trace_events.c                     |  30 ++
 kernel/trace/trace_events_hist.c                |   9 +-
 kernel/trace/trace_events_synth.c               |   5 +-
 kernel/trace/trace_events_user.c                |  64 ++-
 samples/Kconfig                                 |   8 +-
 samples/Makefile                                |   1 +
 samples/trace_events/Makefile                   |   2 +
 samples/trace_events/trace_custom_sched.c       |  60 +++
 samples/trace_events/trace_custom_sched.h       |  95 +++++
 25 files changed, 1139 insertions(+), 514 deletions(-)
 create mode 100644 include/trace/define_custom_trace.h
 create mode 100644 include/trace/stages/init.h
 create mode 100644 include/trace/stages/stage1_defines.h
 create mode 100644 include/trace/stages/stage2_defines.h
 create mode 100644 include/trace/stages/stage3_defines.h
 create mode 100644 include/trace/stages/stage4_defines.h
 create mode 100644 include/trace/stages/stage5_defines.h
 create mode 100644 include/trace/stages/stage6_defines.h
 create mode 100644 include/trace/stages/stage7_defines.h
 create mode 100644 include/trace/trace_custom_events.h
 create mode 100644 samples/trace_events/trace_custom_sched.c
 create mode 100644 samples/trace_events/trace_custom_sched.h