Recording traces on Android boot

Since Android 13 (T), perfetto can be configured to automatically start recording traces on boot. This can be useful to profile the boot process.

Steps

Implementation details