Module: Mesa
Branch: main
Commit: ef27399bca9561455f2a7b6cf7c3cb0fd017e63a
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ef27399bca9561455f2a7b6cf7c3cb0fd017e63a

Author: Chia-I Wu <[email protected]>
Date:   Fri Aug 26 11:14:47 2022 -0700

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>

---

 docs/perfetto.rst | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/docs/perfetto.rst b/docs/perfetto.rst
index c9b39ec7f73..72290a8ad94 100644
--- a/docs/perfetto.rst
+++ b/docs/perfetto.rst
@@ -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
 ~~~~~~~~~~~~~~~~~~~
 

Reply via email to