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:13 +0000
committerSteven Rostedt (Google) <[email protected]>2025-07-21 20:40:57 +0000
commite68849097e82f7e42f3212cefbdcb7d1428e6ffd (patch)
tree83c46d6c0bc6132d48b0178f39cc33990499cc4d /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentPM: tracing: Hide psci_domain_idle events under ARM_PSCI_CPUIDLE (diff)
downloadkernel-e68849097e82f7e42f3212cefbdcb7d1428e6ffd.tar.gz
kernel-e68849097e82f7e42f3212cefbdcb7d1428e6ffd.zip
PM: tracing: Hide device_pm_callback events under PM_SLEEP
The events device_pm_callback_start and device_pm_callback_end events are only called when CONFIG_PM_SLEEP 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 <[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