aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorSteven Rostedt <[email protected]>2025-06-12 14:53:12 +0000
committerSteven Rostedt (Google) <[email protected]>2025-07-21 20:40:56 +0000
commite64397f81c5422d5323f5f9a0fd2438e4c403015 (patch)
treecd38c3377b840838d3930f9e9a7cc1a78e8acc57 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentPM: cpufreq: powernv/tracing: Move powernv_throttle trace event (diff)
downloadkernel-e64397f81c5422d5323f5f9a0fd2438e4c403015.tar.gz
kernel-e64397f81c5422d5323f5f9a0fd2438e4c403015.zip
PM: tracing: Hide psci_domain_idle events under ARM_PSCI_CPUIDLE
The events psci_domain_idle_enter and psci_domain_idle_exit events are only called when CONFIG_ARM_PSCI_CPUIDLE is defined. As each event can take up to 5K (less for DEFINE_EVENT()) 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 <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Mathieu Desnoyers <[email protected]> Cc: Andrew Morton <[email protected]> Cc: Viresh Kumar <[email protected]> Cc: Madhavan Srinivasan <[email protected]> Cc: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/[email protected] Acked-by: Rafael J. Wysocki <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions