File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -590,7 +590,20 @@ on late-fs
590590 # Load trusted keys from dm-verity protected partitions
591591 exec -- /system/bin/fsverity_init --load-verified-keys
592592
593- on late-fs && property:ro.product.cpu.abilist64=*
593+ # Only enable the bootreceiver tracing instance for kernels 5.10 and above.
594+ on late-fs && property:ro.kernel.version=4.9
595+ setprop bootreceiver.enable 0
596+ on late-fs && property:ro.kernel.version=4.14
597+ setprop bootreceiver.enable 0
598+ on late-fs && property:ro.kernel.version=4.19
599+ setprop bootreceiver.enable 0
600+ on late-fs && property:ro.kernel.version=5.4
601+ setprop bootreceiver.enable 0
602+ on late-fs
603+ # Bootreceiver tracing instance is enabled by default.
604+ setprop bootreceiver.enable ${bootreceiver.enable:-1}
605+
606+ on property:ro.product.cpu.abilist64=* && property:bootreceiver.enable=1
594607 # Set up a tracing instance for system_server to monitor error_report_end events.
595608 # These are sent by kernel tools like KASAN and KFENCE when a memory corruption
596609 # is detected. This is only needed for 64-bit systems.
You can’t perform that action at this time.
0 commit comments