• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Perfetto UI
2
3[Perfetto UI](https://ui.perfetto.dev) enables you to view and analyze traces in
4the browser. It supports several different tracing formats, including the
5perfetto proto trace format and the legacy json trace format.
6
7## UI Tips and Tricks
8
9### Pivot Tables
10
11To use pivot tables in the Perfetto UI, you will need to enable the
12"Pivot tables" feature flag in the "Flags" tab under "Support" in the Sidebar.
13You can pop up a pivot table over the entire trace when clicking "p" on your
14keyboard. The "Edit" button opens a pop up window to add/remove and reorder
15columns and change the default sorting of aggregations.
16
17![Pivot table editor](/docs/images/pivot-tables/pivot-table-editor.png)
18
19Clicking on "Query" generates a table with the selected columns.
20Table cells with the expand icon can be expanded to show the next column values.
21The "name (stack)" column displays top level slices that can be expanded to show
22their descendants down to the last child.
23
24![Pivot table](/docs/images/pivot-tables/pivot-table.png)
25
26Area selection pops up a pre-filled pivot table restricted over the selected
27timestamps and track ids.
28
29![Pivot table area selection](/docs/images/pivot-tables/pivot-table-area-selection.png)
30
31### Disabling metrics
32
33Some metrics execute at trace load time to annotate the trace with
34additional tracks and events. You can stop these metrics from
35running by disabling them in the 'Flags' page:
36
37![Disable metrics from running at trace load time](/docs/images/perfetto-ui-disable-metrics.png)
38
39
40