From e1cbff228a76312e09f6713ba98c10af47579497 Mon Sep 17 00:00:00 2001 From: Friedrich Vock Date: Fri, 1 Jul 2022 04:10:04 +0200 Subject: [PATCH] docs: Add short documentation about RMV tracing variables Part-of: --- docs/envvars.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/envvars.rst b/docs/envvars.rst index 0bab6649f69..4cbb685da03 100644 --- a/docs/envvars.rst +++ b/docs/envvars.rst @@ -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 -------------------------------------