• Home
  • Raw
  • Download

Lines Matching +full:broadcom +full:- +full:test +full:- +full:full

6 `producers <https://perfetto.dev/docs/concepts/service-model>`__ each with
7 one or more data-sources. Perfetto already provides various producers and
8 data-sources for things like:
10 - CPU scheduling events (``linux.ftrace``)
11 - CPU frequency scaling (``linux.ftrace``)
12 - System calls (``linux.ftrace``)
13 - Process memory utilization (``linux.process_stats``)
21 - pps-producer: A systemwide daemon that can collect global performance
23 - mesa: Per-process producer within mesa to capture render-stage traces
28 .. list-table:: Supported data-sources
29 :header-rows: 1
31 * - Driver
32 - PPS Counters
33 - Render Stages
34 * - Freedreno
35 - ``gpu.counters.msm``
36 - ``gpu.renderstages.msm``
37 * - Turnip
38 - ``gpu.counters.msm``
39 - ``gpu.renderstages.msm``
40 * - Intel
41 - ``gpu.counters.i915``
42 - ``gpu.renderstages.intel``
43 * - Panfrost
44 - ``gpu.counters.panfrost``
45 -
46 * - V3D
47 - ``gpu.counters.v3d``
48 -
51 ---
56 `this guide <https://perfetto.dev/docs/quickstart/linux-tracing>`__.
61 can be found in ``subprojects/perfetto/test/configs``.
64 `convenience script <https://perfetto.dev/docs/quickstart/linux-tracing#capturing-a-trace>`__
67 .. code-block:: sh
70 CONFIG=<path/to/gpu.cfg> OUT=out/linux_clang_release ./tools/tmux -n
72 4. Start other producers you may need, e.g. ``pps-producer``.
84 (which despite the name can be used to view non-android traces).
89 .. code-block:: sh
92 mesa $ meson . build -Dperfetto=true -Dvulkan-drivers=intel,broadcom -Dgallium-drivers=
94 mesa $ meson compile -C build
98 perfetto $ ./tools/install-build-deps
99 perfetto $ ./tools/gn gen --args='is_debug=false' out/linux
100 perfetto $ ./tools/ninja -C out/linux
103 perfetto $ CONFIG=../../src/tool/pps/cfg/gpu.cfg OUT=out/linux/ ./tools/tmux -n
106 mesa $ ./build/src/tool/pps/pps-producer
118 - Freedreno
119 - V3D
120 - VC4
134 .. code-block:: sh
146 The Freedreno PPS driver needs root access to read system-wide
149 .. code-block:: sh
151 sudo ./build/src/tool/pps/pps-producer
156 The Intel PPS driver needs root access to read system-wide
157 …asic <https://www.intel.com/content/www/us/en/docs/vtune-profiler/user-guide/2023-0/gpu-metrics-re…
160 .. code-block:: sh
162 sudo ./build/src/tool/pps/pps-producer
166 .. code-block:: sh
175 .. code-block:: sh
177 INTEL_PERFETTO_METRIC_SET=RasterizerAndPixelBackend ./build/src/tool/pps/pps-producer
183 .. code-block:: sh
198 .. code-block:: sh
206 .. code-block:: sh
208 ./build/pps-producer
211 ---------------
220 .. code-block:: sh
229 to the trace buffer being full and wrapped.
234 - Increase the size of the buffer in use:
236 .. code-block:: javascript
243 - Periodically flush the trace buffer into the output file:
245 .. code-block:: javascript
251 - Discard new traces when the buffer fills:
253 .. code-block:: javascript