1To push config to be used at device boot automatically
2
3```
4adb push perfetto/atrace.pbtxt /data/misc/perfetto-configs/boottrace.pbtxt
5adb shell setprop persist.debug.perfetto.boottrace 1
6```
7
8The output trace will be written at /data/misc/perfetto-traces/boottrace.perfetto-trace.
9The file will be removed before a new trace is started.
10
11```
12adb pull /data/misc/perfetto-traces/boottrace.perfetto-trace
13```
14
15# Links
16- https://perfetto.dev/docs/case-studies/android-boot-tracing
17