mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [GIT PULL] tracing: Remove or hide some unused tracepoints for 6.17
@ 2025-07-29 23:29 Steven Rostedt
  2025-07-31  0:35 ` pr-tracker-bot
  0 siblings, 1 reply; 2+ messages in thread
From: Steven Rostedt @ 2025-07-29 23:29 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: LKML, Masami Hiramatsu, Mathieu Desnoyers, Mark Rutland, Andrew Morton



Linus,

Remove or hide unused tracepoints

Tracepoints take up memory (around 5K per tracepoint) even when they are
unused. Changes are being made to detect when a tracepoint is defined but
unused and a warning is shown at build. But those changes are not yet
ready for inclusion.

- Fix some of the unused tracepoints that it detected

  Some tracepoints were removed and others were hidden by config settings
  to match the config settings of where they are instantiated. Some
  tracepoints were moved into architecture specific code as only one
  architecture used them.

- Call the ftrace_test_filter tracepoint in an unreachable if statement

  The ftrace_test_filter tracepoint which is defined when ftrace selftests
  are configured and is used to test the filter logic, but the tracepoint is
  not actually called. It is put into an if statement to not have it get
  compiled out, but also not warn for not being used.


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


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

Tag SHA1: 71bbc6de907c84ee983687aea4522604a42c820e
Head SHA1: c2dbaf0af05193fa69f267c37d1f825c1c3a59ab


Steven Rostedt (11):
      tracing, AER: Hide PCIe AER event when PCIEAER is not configured
      alarmtimer: Hide alarmtimer_suspend event when RTC_CLASS is not configured
      PM: cpufreq: powernv/tracing: Move powernv_throttle trace event
      PM: tracing: Hide psci_domain_idle events under ARM_PSCI_CPUIDLE
      PM: tracing: Hide device_pm_callback events under PM_SLEEP
      PM: tracing: Hide power_domain_target event under ARCH_OMAP2PLUS
      binder: Remove unused binder lock events
      tracing: arm: arm64: Hide trace events ipi_raise, ipi_entry and ipi_exit
      tracing: Call trace_ftrace_test_filter() for the event
      powerpc/thp: tracing: Hide hugepage events under CONFIG_PPC_BOOK3S_64
      tracing: sched: Hide numa events under CONFIG_NUMA_BALANCING

----
 arch/arm/Kconfig                   |  1 +
 arch/arm64/Kconfig                 |  1 +
 drivers/android/binder_trace.h     | 21 --------------
 drivers/cpufreq/Makefile           |  1 +
 drivers/cpufreq/powernv-cpufreq.c  |  4 ++-
 drivers/cpufreq/powernv-trace.h    | 44 +++++++++++++++++++++++++++++
 include/ras/ras_event.h            |  2 ++
 include/trace/events/alarmtimer.h  |  2 ++
 include/trace/events/ipi.h         | 58 ++++++++++++++++++++------------------
 include/trace/events/power.h       | 28 ++++--------------
 include/trace/events/sched.h       |  2 +-
 include/trace/events/thp.h         |  2 ++
 kernel/trace/Kconfig               |  6 ++++
 kernel/trace/power-traces.c        |  1 -
 kernel/trace/trace_events_filter.c |  4 +++
 15 files changed, 103 insertions(+), 74 deletions(-)
 create mode 100644 drivers/cpufreq/powernv-trace.h
---------------------------

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [GIT PULL] tracing: Remove or hide some unused tracepoints for 6.17
  2025-07-29 23:29 [GIT PULL] tracing: Remove or hide some unused tracepoints for 6.17 Steven Rostedt
@ 2025-07-31  0:35 ` pr-tracker-bot
  0 siblings, 0 replies; 2+ messages in thread
From: pr-tracker-bot @ 2025-07-31  0:35 UTC (permalink / raw)
  To: Steven Rostedt
  Cc: Linus Torvalds, LKML, Masami Hiramatsu, Mathieu Desnoyers,
	Mark Rutland, Andrew Morton

The pull request you sent on Tue, 29 Jul 2025 19:29:22 -0400:

> git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git trace-unused-v6.17

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/2be6a7503d32eb1d60b4c9c15547a10d4ec9a934

Thank you!

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-07-31  0:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-07-29 23:29 [GIT PULL] tracing: Remove or hide some unused tracepoints for 6.17 Steven Rostedt
2025-07-31  0:35 ` pr-tracker-bot

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

all inboxes | Powered by JetHome®