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
counters.
- 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:
@@ -36,10 +36,10 @@ The exact supported features vary per driver:
- ``gpu.renderstages.msm``
* - Turnip
- ``gpu.counters.msm``
-
- ``gpu.renderstages.msm``
* - Intel
- ``gpu.counters.i915``
-
- ``gpu.renderstages.i915``
* - Panfrost
- ``gpu.counters.panfrost``
-
@@ -104,6 +104,14 @@ the steps above :
# 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
~~~~~~~~~~~~~~~~~~~