UPSTREAM: 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) Change-Id: I50da95e8b65029ddfa525b83a182e7bc54693a13 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> Signed-off-by: Sorayukii <sorayukii69@gmail.com>
This commit is contained in:
parent
ee07c6703a
commit
26cdf7ce8b
3 changed files with 11 additions and 3 deletions
|
|
@ -198,8 +198,6 @@ source "drivers/thunderbolt/Kconfig"
|
|||
|
||||
source "drivers/android/Kconfig"
|
||||
|
||||
source "drivers/gpu/trace/Kconfig"
|
||||
|
||||
source "drivers/nvdimm/Kconfig"
|
||||
|
||||
source "drivers/dax/Kconfig"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,13 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
config TRACE_GPU_MEM
|
||||
bool "GPU memory trace points"
|
||||
bool "Enable GPU memory usage tracepoints"
|
||||
default n
|
||||
help
|
||||
Choose this option to enable tracepoints for tracking
|
||||
global and per-process GPU memory usage. Intended for
|
||||
performance profiling and required for Android.
|
||||
|
||||
Tracepoint availability varies by GPU driver.
|
||||
|
||||
If in doubt, say "N".
|
||||
|
|
|
|||
|
|
@ -47,5 +47,6 @@ if FB || SGI_NEWPORT_CONSOLE
|
|||
|
||||
endif
|
||||
|
||||
source "drivers/gpu/trace/Kconfig"
|
||||
|
||||
endmenu
|
||||
|
|
|
|||
Loading…
Reference in a new issue