summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYabin Cui <yabinc@google.com>2022-01-27 12:45:23 -0800
committerYabin Cui <yabinc@google.com>2022-01-27 12:45:23 -0800
commit71a1ebdef4cd528bcff4b84f9cf7fe65ab435e5f (patch)
treea3a04593ef533b0c2549bfaf355aeaba7e8e657c
parent8f71c9629dd12044a147eb76ff12fe3be5819376 (diff)
downloadextras-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.rc2
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}"