diff options
author | Steven Rostedt <rostedt@goodmis.org> | 2025-06-12 09:49:32 -0400 |
---|---|---|
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2025-07-21 16:40:56 -0400 |
commit | a3b366dbf468788baa2e0ccdccd8482ac277e47b (patch) | |
tree | f2b4c39f3fff9d55c36a29ce49d99e5780c67b53 /scripts/lib/kdoc/kdoc_output.py | |
parent | 89be9a83ccf1f88522317ce02f854f30d6115c41 (diff) |
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 <mhiramat@kernel.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Tony Luck <tony.luck@intel.com>
Link: https://lore.kernel.org/20250612094932.4a08abd6@batman.local.home
Acked-by: Borislav Petkov (AMD) <bp@alien8.de>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions