docs: Add short documentation about RMV tracing variables
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17331>
This commit is contained in:

committed by
Marge Bot

parent
e624494c0f
commit
e1cbff228a
@@ -872,6 +872,19 @@ VC4 driver environment variables
|
||||
a comma-separated list of named flags, which do various things. Use
|
||||
``VC4_DEBUG=help`` to print a list of available options.
|
||||
|
||||
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).
|
||||
Running ``scripts/setup.sh`` beforehand is required.
|
||||
|
||||
V3D/V3DV driver environment variables
|
||||
-------------------------------------
|
||||
|
Reference in New Issue
Block a user