I'm using Perfetto to profile my Android app. Everything works fine and I get a trace file, which I am able to convert into an SQLite3 database, extract measurements from and visualise the results.
However, my trace throws an error when it completes:
The settings for the trace are:
Target platform: Andriod P
Long trace, 1m30s duration, max file size 500mb
probes: CPU coarse usage counter with 1000ms poll interval, schedualing details
The settings are configured using the perfetto UI: https://ui.perfetto.dev/#!/record?p=buffers Instructions are copied and pasted to the terminal on a Mac.
Any idea what the error is and how to fix it?