summaryrefslogtreecommitdiff
path: root/docs/perfetto.rst
diff options
context:
space:
mode:
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>2021-11-21 18:23:57 +0200
committerMarge Bot <emma+marge@anholt.net>2022-01-14 20:17:44 +0000
commite760c5b37be938427a9c88182ea99f7f66721ca3 (patch)
tree8e5742da05ef8dfad01e239c47ed3089cf56b8f9 /docs/perfetto.rst
parentb70143f4e3928198724dd481c127c507bf90ef69 (diff)
downloadmesa-e760c5b37be938427a9c88182ea99f7f66721ca3.tar.gz
anv: add perfetto source
v2: Increase custom stall data (Felix) Fixup build (Felix) v3: Add API enum (Rohan) Fixup old comment (Rohan) Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Rohan Garg <rohan.garg@intel.com> Acked-by: Antonio Caggiano <antonio.caggiano@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13996>
Diffstat (limited to 'docs/perfetto.rst')
-rw-r--r--docs/perfetto.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/perfetto.rst b/docs/perfetto.rst
index 689031d73e5..c9b39ec7f73 100644
--- a/docs/perfetto.rst
+++ b/docs/perfetto.rst
@@ -161,6 +161,14 @@ set of HW counters :
INTEL_PERFETTO_METRIC_SET=RasterizerAndPixelBackend ./build/src/tool/pps/pps-producer
+Vulkan applications can also be instrumented to be Perfetto producers.
+To enable this for given application, set the environment variable as
+follow :
+
+.. code-block:: console
+
+ PERFETTO_TRACE=1 my_vulkan_app
+
Panfrost
^^^^^^^^