From de4e3da4c42ba4c2ce4c45b1db59f25f2858b014 Mon Sep 17 00:00:00 2001 From: Friedrich Vock Date: Thu, 23 Feb 2023 20:00:23 +0100 Subject: [PATCH] docs: Fix formatting for RMV tracing docs Fixes: e1cbff22 ("docs: Add short documentation about RMV tracing variables") Reviewed-by: Erik Faye-Lund Part-of: --- docs/envvars.rst | 3 +++ 1 file changed, 3 insertions(+) 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).