diff options
author | Yabin Cui <yabinc@google.com> | 2022-01-27 12:45:23 -0800 |
---|---|---|
committer | Yabin Cui <yabinc@google.com> | 2022-01-27 12:45:23 -0800 |
commit | 71a1ebdef4cd528bcff4b84f9cf7fe65ab435e5f (patch) | |
tree | a3a04593ef533b0c2549bfaf355aeaba7e8e657c | |
parent | 8f71c9629dd12044a147eb76ff12fe3be5819376 (diff) | |
download | extras-71a1ebdef4cd528bcff4b84f9cf7fe65ab435e5f.tar.gz |
simpleperf: start simpleperf boot-record at zygote-start stage.
This is a little earlier than boot stage. It starts simpleperf
boot-record right after zygote is started.
Bug: 214731005
Test: run simpleperf manually
Change-Id: Id4f8541373cf5ee173cc7ad006331d2ce91d3a1d
-rw-r--r-- | simpleperf/simpleperf.rc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/simpleperf/simpleperf.rc b/simpleperf/simpleperf.rc index 213b6fae..928e9d34 100644 --- a/simpleperf/simpleperf.rc +++ b/simpleperf/simpleperf.rc @@ -1,3 +1,3 @@ -on boot && property:ro.debuggable=1 && property:persist.simpleperf.boot_record=* +on zygote-start && property:ro.debuggable=1 && property:persist.simpleperf.boot_record=* exec_background /system/bin/simpleperf boot-record --log-to-android-buffer --record "${persist.simpleperf.boot_record}" |