diff options
| author | Steven Rostedt <[email protected]> | 2025-06-12 13:49:32 +0000 |
|---|---|---|
| committer | Steven Rostedt (Google) <[email protected]> | 2025-07-21 20:40:56 +0000 |
| commit | a3b366dbf468788baa2e0ccdccd8482ac277e47b (patch) | |
| tree | f2b4c39f3fff9d55c36a29ce49d99e5780c67b53 /drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c | |
| parent | Linux 6.16-rc7 (diff) | |
| download | kernel-a3b366dbf468788baa2e0ccdccd8482ac277e47b.tar.gz kernel-a3b366dbf468788baa2e0ccdccd8482ac277e47b.zip | |
tracing, AER: Hide PCIe AER event when PCIEAER is not configured
The event aer_event is only used when CONFIG_PCIEAER is configured. It
should not be created when it is not. When an event is created it creates
around 5K of text and meta data regardless if the tracepoint is used or
not. Instead of wasting this memory, put #ifdef around the event to not
create it when it is not used.
Cc: Masami Hiramatsu <[email protected]>
Cc: Mathieu Desnoyers <[email protected]>
Cc: Tony Luck <[email protected]>
Link: https://lore.kernel.org/[email protected]
Acked-by: Borislav Petkov (AMD) <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c')
0 files changed, 0 insertions, 0 deletions
