docs/perfetto: update section about vulkan app tracing

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 18e820009d ("common/utrace: Refactor and combine all envvars into `GPU_TRACES`")
Fixes: 8370a0d6bf ("common/utrace: Prefix all environment variables with `MESA_`")
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19974>
This commit is contained in:
Lionel Landwerlin
2022-11-24 10:30:50 +02:00
parent a126ed19f9
commit 61bdc2a2e0

View File

@@ -121,12 +121,12 @@ consequence, we need to ensure command buffers are properly
instrumented for the Perfetto driver data sources prior to Perfetto
actually collecting traces.
This can be achieved by setting the ``GPU_TRACE_INSTRUMENT``
This can be achieved by setting the envvar:`MESA_GPU_TRACES`
environment variable before starting a Vulkan application :
.. code-block:: console
GPU_TRACE_INSTRUMENT=1 ./build/my_vulkan_app
MESA_GPU_TRACES=perfetto ./build/my_vulkan_app
Driver Specifics
~~~~~~~~~~~~~~~~