The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [GIT PULL] tracing: More updates for 7.2
@ 2026-06-24 16:06 Steven Rostedt
  0 siblings, 0 replies; only message in thread
From: Steven Rostedt @ 2026-06-24 16:06 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: LKML, Masami Hiramatsu, Mark Rutland, Mathieu Desnoyers,
	Andrew Morton, Sebastian Andrzej Siewior, John Ogness,
	Thomas Gleixner, Peter Zijlstra, Julia Lawall, Yury Norov


Linus,

More tracing updates for 7.2:

- Move non-trace_printk() functions into trace_controls.h

  Several tracing controls and output function prototypes were included in
  kernel.h. When trace_printk.h was created, all of them were moved from
  kernel.h into trace_printk.h. Several of those functions have nothing to
  do with trace_printk() but instead are used to start, stop tracing as
  well as trigger stack traces into the tracing buffer or dump it to the
  console. Create a new header called trace_controls.h and move these
  functions into that file from trace_printk.h.

- Remove the include of trace_printk.h from kernel.h.

  Instead of having trace_printk.h indirectly included in all files of the
  kernel for debugging purposes, require trace_printk.h to be included on
  a per file bases when it is needed. The locations in the kernel that
  reference trace_printk() now have a direct include of trace_printk.h.

Note, I applied and tested this on your latest commit from yesterday to
make sure it works and I didn't miss other possible use cases that needed
the includes.

Please pull the latest trace-v7.2-2 tree, which can be found at:


  git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git
trace-v7.2-2

Tag SHA1: 38ba0725f41b26abf4295138c02653d2372a8e26
Head SHA1: 9cbc3d9806d31abda2718ceac587ddee3a04849b


Steven Rostedt (2):
      tracing: Move non-trace_printk prototypes into trace_controls.h
      tracing: Remove trace_printk.h from kernel.h

----
 arch/powerpc/kvm/book3s_xics.c         |  1 +
 arch/powerpc/xmon/xmon.c               |  1 +
 arch/s390/kernel/ipl.c                 |  1 +
 arch/s390/kernel/machine_kexec.c       |  1 +
 drivers/gpu/drm/i915/gt/intel_gtt.h    |  1 +
 drivers/gpu/drm/i915/i915_gem.h        |  2 ++
 drivers/hwtracing/stm/dummy_stm.c      |  1 +
 drivers/infiniband/hw/hfi1/trace_dbg.h |  1 +
 drivers/tty/sysrq.c                    |  1 +
 drivers/usb/early/xhci-dbc.c           |  1 +
 fs/ext4/inline.c                       |  1 +
 include/linux/ftrace.h                 |  2 ++
 include/linux/kernel.h                 |  1 -
 include/linux/sunrpc/debug.h           |  1 +
 include/linux/trace_controls.h         | 54 ++++++++++++++++++++++++++++++++
 include/linux/trace_printk.h           | 56 ++--------------------------------
 kernel/debug/debug_core.c              |  1 +
 kernel/panic.c                         |  1 +
 kernel/rcu/rcu.h                       |  2 ++
 kernel/rcu/rcutorture.c                |  1 +
 kernel/trace/ring_buffer_benchmark.c   |  1 +
 kernel/trace/trace.h                   |  1 +
 kernel/trace/trace_benchmark.c         |  1 +
 lib/sys_info.c                         |  1 +
 samples/fprobe/fprobe_example.c        |  1 +
 samples/ftrace/ftrace-direct-too.c     |  1 -
 samples/trace_printk/trace-printk.c    |  1 +
 27 files changed, 83 insertions(+), 55 deletions(-)
 create mode 100644 include/linux/trace_controls.h
---------------------------

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-24 16:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-24 16:06 [GIT PULL] tracing: More updates for 7.2 Steven Rostedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox