Skip to contentSkip to conversation

tracing: Updates for v6.15

GIT PULL Merged Steven Rostedt 2 participants 2 messages Mar 27, 2025 – Mar 28, 2025

lore
Share & tools
lore
#0 lore raw

Linus,

tracing updates for v6.15:

- Add option traceoff_after_boot

In order to debug kernel boot, it sometimes is helpful to enable tracing via the kernel command line. Unfortunately, by the time the login prompt appears, the trace is overwritten by the init process and other user space start up applications. Adding a "traceoff_after_boot" will disable tracing when the kernel passes control to init which will allow developers to be able to see the traces that occurred during boot.

- Clean up the mmflags macros that display the GFP flags in trace events

The macros to print the GFP flags for trace events had a bit of duplication. The code was restructured to remove duplication and in the process it also adds some flags that were missed before.

- Removed some dead code and scripts/draw_functrace.py

draw_functrace.py hasn't worked in years and as nobody complained about it, remove it.

- Constify struct event_trigger_ops

The event_trigger_ops is just a structure that has function pointers that are assigned when the variables are created. These variables should all be constants.

- Other minor clean ups and fixes

Please pull the latest trace-v6.15 tree, which can be found at:

git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git
trace-v6.15

Tag SHA1: 4c87918f84af7697d58a1f243ebe96de405791d9 Head SHA1: e0344f9564f5847dc20e245fbea67a4b262ee659

Christophe JAILLET (2):
tracing/user_events: Slightly simplify user_seq_show()
tracing: Constify struct event_trigger_ops

Douglas Raillard (3):
tracing: Align synth event print fmt
tracing: Ensure module defining synth event cannot be unloaded while tracing
tracing: Fix synth event printk format for str fields

Gabriele Paoloni (1):
tracing: fix return value in __ftrace_event_enable_disable for TRACE_REG_UNREGISTER

Hengqi Chen (1):
tracing: Remove orphaned event_trace_printk

Huang Shijie (1):
tracepoint: Print the function symbol when tracepoint_debug is set

Petr Mladek (1):
tracing: gfp: vsprintf: Do not print "none" when using %pGg printf format

Ran Xiaokai (1):
tracing/osnoise: Fix possible recursive locking for cpus_read_lock()

Siddarth G (1):
tracing: Replace strncpy with memcpy for fixed-length substring copy

Steven Rostedt (5):
tracing: Add traceoff_after_boot option
tracing: gfp: Remove duplication of recording GFP flags
tracing: Update MAINTAINERS file to include tracepoint.c scripts/tracing: Remove scripts/tracing/draw_functrace.py
tracing: Do not use PERF enums when perf is not defined

Thomas Weißschuh (1):
tracing/user_events: Don't use %pK through printk

Zhouyi Zhou (1):
ring-buffer: Fix typo in comment about header page pointer

----

 Documentation/admin-guide/kernel-parameters.txt |   9 ++
 MAINTAINERS                                     |   1 +
 include/linux/trace_events.h                    |  18 ----
 include/trace/events/mmflags.h                  |  41 ++------
 kernel/trace/ring_buffer.c                      |   2 +-
 kernel/trace/trace.c                            |  11 ++
 kernel/trace/trace.h                            |   4 +-
 kernel/trace/trace_eprobe.c                     |   6 +-
 kernel/trace/trace_events.c                     |   4 +-
 kernel/trace/trace_events_hist.c                |  20 ++--
 kernel/trace/trace_events_synth.c               |  40 +++++++-
 kernel/trace/trace_events_trigger.c             |  38 +++----
 kernel/trace/trace_events_user.c                |   7 +-
 kernel/trace/trace_osnoise.c                    |   1 -
 kernel/tracepoint.c                             |   2 +-
 scripts/tracing/draw_functrace.py               | 129 ------------------------
 16 files changed, 108 insertions(+), 225 deletions(-)
 delete mode 100755 scripts/tracing/draw_functrace.py

---------------------------

merge bot Merged
#1 lore raw
The pull request you sent on Thu, 27 Mar 2025 12:36:26 -0400:

The pull request you sent on Thu, 27 Mar 2025 12:36:26 -0400:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git trace-v6.15

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/744fab2d9ff9177a27647c3710e86d43f2efe68c

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html