diff options
| author | Steven Rostedt <[email protected]> | 2025-06-12 14:53:11 +0000 |
|---|---|---|
| committer | Steven Rostedt (Google) <[email protected]> | 2025-07-21 20:40:56 +0000 |
| commit | 647fe16b46999258ce1aec41f4bdeabb4f0cc8e7 (patch) | |
| tree | 82b87aadafd5f5aecfcbeaaa345e323b9e9eb5fe /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | alarmtimer: Hide alarmtimer_suspend event when RTC_CLASS is not configured (diff) | |
| download | kernel-647fe16b46999258ce1aec41f4bdeabb4f0cc8e7.tar.gz kernel-647fe16b46999258ce1aec41f4bdeabb4f0cc8e7.zip | |
PM: cpufreq: powernv/tracing: Move powernv_throttle trace event
As the trace event powernv_throttle is only used by the powernv code, move
it to a separate include file and have that code directly enable it.
Trace events can take up around 5K of memory when they are defined
regardless if they are used or not. It wastes memory to have them defined
in configurations where the tracepoint is not used.
Cc: Masami Hiramatsu <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Mathieu Desnoyers <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Madhavan Srinivasan <[email protected]>
Cc: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/[email protected]
Fixes: 0306e481d479a ("cpufreq: powernv/tracing: Add powernv_throttle tracepoint")
Acked-by: Viresh Kumar <[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
