Module: Mesa Branch: main Commit: de4e3da4c42ba4c2ce4c45b1db59f25f2858b014 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=de4e3da4c42ba4c2ce4c45b1db59f25f2858b014
Author: Friedrich Vock <[email protected]> Date: Thu Feb 23 20:00:23 2023 +0100 docs: Fix formatting for RMV tracing docs Fixes: e1cbff22 ("docs: Add short documentation about RMV tracing variables") Reviewed-by: Erik Faye-Lund <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21502> --- 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).
