Enable GPU memory usage tracepoints

modulename: trace_gpu_mem.ko

configname: CONFIG_TRACE_GPU_MEM

Linux Kernel Configuration
└─>Device Drivers
└─>Graphics support
└─>Enable GPU memory usage tracepoints
In linux kernel since version 4.14.326 (release Date: 2023-09-23)  
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".

source code:
is depended by
CONFIG_DRM_MSM