From ef27399bca9561455f2a7b6cf7c3cb0fd017e63a Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Fri, 26 Aug 2022 11:14:47 -0700 Subject: [PATCH] docs: update perfetto with the latest status intel and turnip support renderstages. EGL supports track events. Part-of: --- 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 ~~~~~~~~~~~~~~~~~~~