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:
@@ -121,12 +121,12 @@ consequence, we need to ensure command buffers are properly
|
|||||||
instrumented for the Perfetto driver data sources prior to Perfetto
|
instrumented for the Perfetto driver data sources prior to Perfetto
|
||||||
actually collecting traces.
|
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 :
|
environment variable before starting a Vulkan application :
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
GPU_TRACE_INSTRUMENT=1 ./build/my_vulkan_app
|
MESA_GPU_TRACES=perfetto ./build/my_vulkan_app
|
||||||
|
|
||||||
Driver Specifics
|
Driver Specifics
|
||||||
~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~
|
||||||
|
Reference in New Issue
Block a user