From 61bdc2a2e03ce05a79ab40ec8388cc5ad2c25d4d Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Thu, 24 Nov 2022 10:30:50 +0200 Subject: [PATCH] docs/perfetto: update section about vulkan app tracing Signed-off-by: Lionel Landwerlin Fixes: 18e820009d6 ("common/utrace: Refactor and combine all envvars into `GPU_TRACES`") Fixes: 8370a0d6bfc ("common/utrace: Prefix all environment variables with `MESA_`") Reviewed-by: Erik Faye-Lund Part-of: --- docs/perfetto.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/perfetto.rst b/docs/perfetto.rst index 16a510eb52e..88732c25583 100644 --- a/docs/perfetto.rst +++ b/docs/perfetto.rst @@ -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 ~~~~~~~~~~~~~~~~