Perfetto

This article provides the basic information required to start using the perfetto [1] Android™ tool.

1 Introduction[edit]

The following table provides a brief description of the tool, as well as its availability depending on the software packages:

Yes: this tool is either present (ready to use or to be activated), or can be integrated and activated on the software package.

No: this tool is not present and cannot be integrated, or it is present but cannot be activated on the software package.

Tool STM32MPU Embedded Software distribution STM32MPU Embedded Software distribution for Android™
Name Category Purpose Starter Package Developer Package Distribution Package Starter Package Developer Package Distribution Package
perfetto Tracing tools perfetto[1] is a performance instrumentation and tracing tool for Android™.
  • Open-source project for platform tracing
  • Trace processing and analysis
  • Web-based trace viewer UI
No No No Yes* Yes* Yes

2 Getting started with perfetto[edit]

Perfetto instructions can be generated using the recording tool[2].

  • Create record settings required
  • Copy generated instructions
  • Execute the copied instructions on a opened terminal with the device connected through USB, having ADB installed.

At the end of the trace execution, you can get back the trace:

 adb pull /data/misc/perfetto-traces/trace

From this stage you can directly open the trace through the web viewer[3].

3 References[edit]