]> git.ipfire.org Git - thirdparty/linux.git/commit
tracing: arm: arm64: Hide trace events ipi_raise, ipi_entry and ipi_exit
authorSteven Rostedt <rostedt@goodmis.org>
Tue, 22 Jul 2025 14:37:14 +0000 (10:37 -0400)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Wed, 23 Jul 2025 18:58:55 +0000 (14:58 -0400)
commit9f0cb91767f582df6b17c1e2f22f684c36962295
tree65b888b3e6195765504e90ff44832e50dfacea32
parenta594dec7607744a8f877c8516c73a7728a7b66e3
tracing: arm: arm64: Hide trace events ipi_raise, ipi_entry and ipi_exit

The ipi tracepoints are mostly generic, but the tracepoints ipi_raise,
ipi_entry and ipi_exit are only used by arm and arm64. This means these
trace events are wasting memory in all the other architectures that do not
use them.

Add CONFIG_HAVE_EXTRA_IPI_TRACEPOINTS and have arm and arm64 select it to
enable these trace events. The config makes it easy if other architectures
decide to trace these as well.

Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Will Deacon <will@kernel.org>
Cc: Russell King <linux@armlinux.org.uk>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Valentin Schneider <vschneid@redhat.com>
Cc: Nicolas Pitre <nico@fluxnic.net>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/20250722103714.64eba013@gandalf.local.home
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm/Kconfig
arch/arm64/Kconfig
include/trace/events/ipi.h
kernel/trace/Kconfig