[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250729192922.37db57dc@gandalf.local.home>
Date: Tue, 29 Jul 2025 19:29:22 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: LKML <linux-kernel@...r.kernel.org>, Masami Hiramatsu
<mhiramat@...nel.org>, Mathieu Desnoyers <mathieu.desnoyers@...icios.com>,
Mark Rutland <mark.rutland@....com>, Andrew Morton
<akpm@...ux-foundation.org>
Subject: [GIT PULL] tracing: Remove or hide some unused tracepoints for 6.17
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
---------------------------
Powered by blists - more mailing lists