docs: update perfetto with the latest status

intel and turnip support renderstages.  EGL supports track events.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18260>
This commit is contained in:
Chia-I Wu 2022-08-26 11:14:47 -07:00 committed by Marge Bot
parent cbd8e24b9f
commit ef27399bca

View file

@ -21,7 +21,7 @@ same timeline, to better understand and tune/debug system level performance:
- pps-producer: A systemwide daemon that can collect global performance - pps-producer: A systemwide daemon that can collect global performance
counters. counters.
- mesa: Per-process producer within mesa to capture render-stage traces - mesa: Per-process producer within mesa to capture render-stage traces
on the GPU timeline, track events, etc. on the GPU timeline, track events on the CPU timeline, etc.
The exact supported features vary per driver: The exact supported features vary per driver:
@ -36,10 +36,10 @@ The exact supported features vary per driver:
- ``gpu.renderstages.msm`` - ``gpu.renderstages.msm``
* - Turnip * - Turnip
- ``gpu.counters.msm`` - ``gpu.counters.msm``
- - ``gpu.renderstages.msm``
* - Intel * - Intel
- ``gpu.counters.i915`` - ``gpu.counters.i915``
- - ``gpu.renderstages.i915``
* - Panfrost * - Panfrost
- ``gpu.counters.panfrost`` - ``gpu.counters.panfrost``
- -
@ -104,6 +104,14 @@ the steps above :
# Back in the perfetto tmux, press enter to start the capture # Back in the perfetto tmux, press enter to start the capture
CPU Tracing
~~~~~~~~~~~
Mesa's CPU tracepoints (``MESA_TRACE_*``) use Perfetto track events when
Perfetto is enabled. They use ``mesa.default`` and ``mesa.slow`` categories.
Currently, only EGL and freedreno have CPU tracepoints.
Vulkan data sources Vulkan data sources
~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~