Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

gpu/trace: make TRACE_GPU_MEM configurable

Move the source to a better place in Device Drivers -> Graphics support
now that its configurable.

v4:
- Move source location (Tvrtko)

v3:
- Patch introduced to replace per-driver config (Lucas)

Signed-off-by: Juston Li <justonli@chromium.org>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://lore.kernel.org/r/20250611225145.1739201-1-justonli@chromium.org
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>

authored by

Juston Li and committed by
Lucas De Marchi
5d95cbf2 3e89a8c6

+12 -3
-2
drivers/Kconfig
··· 209 209 210 210 source "drivers/android/Kconfig" 211 211 212 - source "drivers/gpu/trace/Kconfig" 213 - 214 212 source "drivers/nvdimm/Kconfig" 215 213 216 214 source "drivers/dax/Kconfig"
+10 -1
drivers/gpu/trace/Kconfig
··· 1 1 # SPDX-License-Identifier: GPL-2.0-only 2 2 3 3 config TRACE_GPU_MEM 4 - bool 4 + bool "Enable GPU memory usage tracepoints" 5 + default n 6 + help 7 + Choose this option to enable tracepoints for tracking 8 + global and per-process GPU memory usage. Intended for 9 + performance profiling and required for Android. 10 + 11 + Tracepoint availability varies by GPU driver. 12 + 13 + If in doubt, say "N".
+2
drivers/video/Kconfig
··· 87 87 88 88 endif 89 89 90 + source "drivers/gpu/trace/Kconfig" 91 + 90 92 endmenu