aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorSteven Rostedt <[email protected]>2025-06-12 14:05:52 +0000
committerSteven Rostedt (Google) <[email protected]>2025-07-25 21:48:58 +0000
commitc2dbaf0af05193fa69f267c37d1f825c1c3a59ab (patch)
tree4ab8f8f202a10e94adcf03968c7208123dedd490 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentpowerpc/thp: tracing: Hide hugepage events under CONFIG_PPC_BOOK3S_64 (diff)
downloadkernel-c2dbaf0af05193fa69f267c37d1f825c1c3a59ab.tar.gz
kernel-c2dbaf0af05193fa69f267c37d1f825c1c3a59ab.zip
tracing: sched: Hide numa events under CONFIG_NUMA_BALANCING
The events sched_move_numa, sched_stick_numa and sched_swap_numa are only called when CONFIG_NUMA_BALANCING is configured. As each event can take up to 5K of memory in text and meta data regardless if they are used or not, they should not be defined when unused. Move the #ifdef CONFIG_NUMA_BALANCING to hide these events as well. Cc: Masami Hiramatsu <[email protected]> Cc: Mathieu Desnoyers <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: https://lore.kernel.org/[email protected] Reviewed-by: Shrikanth Hegde <[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