diff --git a/docs/envvars.rst b/docs/envvars.rst index e14280b62b6..8c2ce3a6f7c 100644 --- a/docs/envvars.rst +++ b/docs/envvars.rst @@ -1008,11 +1008,14 @@ Shared Vulkan driver environment variables ------------------------------------------ .. envvar:: MESA_VK_MEMORY_TRACE + enable memory tracing and exporting RMV captures (requires the ``scripts/setup.sh`` script in the Radeon Developer Tools folder to be run beforehand). ``MESA_VK_MEMORY_TRACE=n`` dumps data after n frames. Currently, only RADV implements this. + .. envvar:: MESA_VK_MEMORY_TRACE_TRIGGER + enable trigger file-based memory tracing. (e.g. ``export MESA_VK_MEMORY_TRACE_TRIGGER=/tmp/memory_trigger`` and then ``touch /tmp/memory_trigger`` to capture a memory trace).