mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-08 18:58:17 +02:00
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:
parent
a126ed19f9
commit
61bdc2a2e0
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
~~~~~~~~~~~~~~~~
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue