aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorSteven Rostedt <[email protected]>2025-06-12 14:12:59 +0000
committerSteven Rostedt (Google) <[email protected]>2025-07-25 12:58:07 +0000
commit43cf0e05089afe23dac74fa6e1e109d49f2903c4 (patch)
tree516182492e16eaf7334a64cdc0cc30f7aeb57162 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parenttracing: Call trace_ftrace_test_filter() for the event (diff)
downloadkernel-43cf0e05089afe23dac74fa6e1e109d49f2903c4.tar.gz
kernel-43cf0e05089afe23dac74fa6e1e109d49f2903c4.zip
powerpc/thp: tracing: Hide hugepage events under CONFIG_PPC_BOOK3S_64
The events hugepage_set_pmd, hugepage_set_pud, hugepage_update_pmd and hugepage_update_pud are only called when CONFIG_PPC_BOOK3S_64 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: Mathieu Desnoyers <[email protected]> Cc: Andrew Morton <[email protected]> Cc: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/[email protected] Acked-by: David Hildenbrand <[email protected]> Acked-by: Madhavan Srinivasan <[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