diff options
| author | Steven Rostedt <[email protected]> | 2025-06-12 13:58:28 +0000 |
|---|---|---|
| committer | Steven Rostedt (Google) <[email protected]> | 2025-07-21 20:40:56 +0000 |
| commit | 06cc77a63f1b10e8f05e7223753883e14c35b512 (patch) | |
| tree | ce6abfc339cfa818654efc24dc6a47623729d5d7 /drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c | |
| parent | tracing, AER: Hide PCIe AER event when PCIEAER is not configured (diff) | |
| download | kernel-06cc77a63f1b10e8f05e7223753883e14c35b512.tar.gz kernel-06cc77a63f1b10e8f05e7223753883e14c35b512.zip | |
alarmtimer: Hide alarmtimer_suspend event when RTC_CLASS is not configured
The trace event alarmtimer_suspend is only called when RTC_CLASS is
defined. As every event created can create up to 5K of text and meta data
regardless if it is called or not it should not be created and waste
memory. Hide the event when CONFIG_RTC_CLASS is not defined.
Cc: Masami Hiramatsu <[email protected]>
Cc: Mathieu Desnoyers <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: https://lore.kernel.org/[email protected]
Acked-by: Thomas Gleixner <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c')
0 files changed, 0 insertions, 0 deletions
