Loading bootstat/boot_reason_test.sh +2 −0 Original line number Original line Diff line number Diff line Loading @@ -176,6 +176,8 @@ init : processing action (post-fs-data) from (/system/etc/init/bootstat.rc init : processing action (boot) from (/system/etc/init/bootstat.rc init : processing action (boot) from (/system/etc/init/bootstat.rc init : processing action (ro.boot.bootreason=*) from (/system/etc/init/bootstat.rc init : processing action (ro.boot.bootreason=*) from (/system/etc/init/bootstat.rc init : processing action (sys.boot_completed=1 && sys.logbootcomplete=1) from (/system/etc/init/bootstat.rc init : processing action (sys.boot_completed=1 && sys.logbootcomplete=1) from (/system/etc/init/bootstat.rc (/system/bin/bootstat --record_boot_complete --record_boot_reason --record_time_since_factory_reset -l)' (/system/bin/bootstat -r post_decrypt_time_elapsed)' init : Command 'exec - system log -- /system/bin/bootstat --record_boot_complete' action=sys.boot_completed=1 && sys.logbootcomplete=1 (/system/etc/init/bootstat.rc: init : Command 'exec - system log -- /system/bin/bootstat --record_boot_complete' action=sys.boot_completed=1 && sys.logbootcomplete=1 (/system/etc/init/bootstat.rc: init : Command 'exec - system log -- /system/bin/bootstat --record_boot_reason' action=sys.boot_completed=1 && sys.logbootcomplete=1 (/system/etc/init/bootstat.rc: init : Command 'exec - system log -- /system/bin/bootstat --record_boot_reason' action=sys.boot_completed=1 && sys.logbootcomplete=1 (/system/etc/init/bootstat.rc: init : Command 'exec - system log -- /system/bin/bootstat --record_time_since_factory_reset' action=sys.boot_completed=1 && sys.logbootcomplete=1 (/system/etc/init/bootstat.rc: init : Command 'exec - system log -- /system/bin/bootstat --record_time_since_factory_reset' action=sys.boot_completed=1 && sys.logbootcomplete=1 (/system/etc/init/bootstat.rc: Loading bootstat/bootstat.rc +2 −8 Original line number Original line Diff line number Diff line Loading @@ -46,7 +46,7 @@ on post-fs-data # property:init.svc.bootanim=running: The boot animation is running # property:init.svc.bootanim=running: The boot animation is running # property:ro.crypto.type=block: FDE device # property:ro.crypto.type=block: FDE device on post-fs-data && property:init.svc.bootanim=running && property:ro.crypto.type=block on post-fs-data && property:init.svc.bootanim=running && property:ro.crypto.type=block exec - system log -- /system/bin/bootstat -r post_decrypt_time_elapsed exec_background - system log -- /system/bin/bootstat -r post_decrypt_time_elapsed # sys.logbootcomplete is a signal to enable the bootstat logging mechanism. # sys.logbootcomplete is a signal to enable the bootstat logging mechanism. # This signaling is necessary to prevent logging boot metrics after a runtime # This signaling is necessary to prevent logging boot metrics after a runtime Loading @@ -69,13 +69,7 @@ on property:init.svc.zygote=stopping # Record boot complete metrics. # Record boot complete metrics. on property:sys.boot_completed=1 && property:sys.logbootcomplete=1 on property:sys.boot_completed=1 && property:sys.logbootcomplete=1 # Record boot_complete and related stats (decryption, etc). # Record boot_complete and related stats (decryption, etc). exec - system log -- /system/bin/bootstat --record_boot_complete # Record the boot reason. # Record the boot reason. exec - system log -- /system/bin/bootstat --record_boot_reason # Record time since factory reset. # Record time since factory reset. exec - system log -- /system/bin/bootstat --record_time_since_factory_reset # Log all boot events. # Log all boot events. exec - system log -- /system/bin/bootstat -l exec_background - system log -- /system/bin/bootstat --record_boot_complete --record_boot_reason --record_time_since_factory_reset -l Loading
bootstat/boot_reason_test.sh +2 −0 Original line number Original line Diff line number Diff line Loading @@ -176,6 +176,8 @@ init : processing action (post-fs-data) from (/system/etc/init/bootstat.rc init : processing action (boot) from (/system/etc/init/bootstat.rc init : processing action (boot) from (/system/etc/init/bootstat.rc init : processing action (ro.boot.bootreason=*) from (/system/etc/init/bootstat.rc init : processing action (ro.boot.bootreason=*) from (/system/etc/init/bootstat.rc init : processing action (sys.boot_completed=1 && sys.logbootcomplete=1) from (/system/etc/init/bootstat.rc init : processing action (sys.boot_completed=1 && sys.logbootcomplete=1) from (/system/etc/init/bootstat.rc (/system/bin/bootstat --record_boot_complete --record_boot_reason --record_time_since_factory_reset -l)' (/system/bin/bootstat -r post_decrypt_time_elapsed)' init : Command 'exec - system log -- /system/bin/bootstat --record_boot_complete' action=sys.boot_completed=1 && sys.logbootcomplete=1 (/system/etc/init/bootstat.rc: init : Command 'exec - system log -- /system/bin/bootstat --record_boot_complete' action=sys.boot_completed=1 && sys.logbootcomplete=1 (/system/etc/init/bootstat.rc: init : Command 'exec - system log -- /system/bin/bootstat --record_boot_reason' action=sys.boot_completed=1 && sys.logbootcomplete=1 (/system/etc/init/bootstat.rc: init : Command 'exec - system log -- /system/bin/bootstat --record_boot_reason' action=sys.boot_completed=1 && sys.logbootcomplete=1 (/system/etc/init/bootstat.rc: init : Command 'exec - system log -- /system/bin/bootstat --record_time_since_factory_reset' action=sys.boot_completed=1 && sys.logbootcomplete=1 (/system/etc/init/bootstat.rc: init : Command 'exec - system log -- /system/bin/bootstat --record_time_since_factory_reset' action=sys.boot_completed=1 && sys.logbootcomplete=1 (/system/etc/init/bootstat.rc: Loading
bootstat/bootstat.rc +2 −8 Original line number Original line Diff line number Diff line Loading @@ -46,7 +46,7 @@ on post-fs-data # property:init.svc.bootanim=running: The boot animation is running # property:init.svc.bootanim=running: The boot animation is running # property:ro.crypto.type=block: FDE device # property:ro.crypto.type=block: FDE device on post-fs-data && property:init.svc.bootanim=running && property:ro.crypto.type=block on post-fs-data && property:init.svc.bootanim=running && property:ro.crypto.type=block exec - system log -- /system/bin/bootstat -r post_decrypt_time_elapsed exec_background - system log -- /system/bin/bootstat -r post_decrypt_time_elapsed # sys.logbootcomplete is a signal to enable the bootstat logging mechanism. # sys.logbootcomplete is a signal to enable the bootstat logging mechanism. # This signaling is necessary to prevent logging boot metrics after a runtime # This signaling is necessary to prevent logging boot metrics after a runtime Loading @@ -69,13 +69,7 @@ on property:init.svc.zygote=stopping # Record boot complete metrics. # Record boot complete metrics. on property:sys.boot_completed=1 && property:sys.logbootcomplete=1 on property:sys.boot_completed=1 && property:sys.logbootcomplete=1 # Record boot_complete and related stats (decryption, etc). # Record boot_complete and related stats (decryption, etc). exec - system log -- /system/bin/bootstat --record_boot_complete # Record the boot reason. # Record the boot reason. exec - system log -- /system/bin/bootstat --record_boot_reason # Record time since factory reset. # Record time since factory reset. exec - system log -- /system/bin/bootstat --record_time_since_factory_reset # Log all boot events. # Log all boot events. exec - system log -- /system/bin/bootstat -l exec_background - system log -- /system/bin/bootstat --record_boot_complete --record_boot_reason --record_time_since_factory_reset -l