]> git.ipfire.org Git - thirdparty/linux.git/commit
PM: tracing: Hide power_domain_target event under ARCH_OMAP2PLUS
authorSteven Rostedt <rostedt@goodmis.org>
Thu, 12 Jun 2025 14:53:14 +0000 (10:53 -0400)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Mon, 21 Jul 2025 20:40:57 +0000 (16:40 -0400)
commitdd4186c2f2733389749182775498b03528622d70
treeb2cf746723d6114a7a08e4859e0ffcb2f5ed1a38
parente68849097e82f7e42f3212cefbdcb7d1428e6ffd
PM: tracing: Hide power_domain_target event under ARCH_OMAP2PLUS

The power_domain_target event event is only called when CONFIG_OMAP2PLUS
is defined. As each event can take up to 5K regardless if they are used or
not, it's best not to define them when they are not used. Add #ifdef
around these events when they are not used.

Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Viresh Kumar <viresh.kumar@linaro.org>
Cc: Madhavan Srinivasan <maddy@linux.ibm.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/20250612145408.415483176@goodmis.org
Acked-by: Rafael J. Wysocki <rafael@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
include/trace/events/power.h