Merge "Revert "init.rc: set up a tracing instance for BootReceiver.java""
This commit is contained in:
commit
e886702132
1 changed files with 0 additions and 9 deletions
|
|
@ -620,15 +620,6 @@ on late-fs
|
||||||
# Load trusted keys from dm-verity protected partitions
|
# Load trusted keys from dm-verity protected partitions
|
||||||
exec -- /system/bin/fsverity_init --load-verified-keys
|
exec -- /system/bin/fsverity_init --load-verified-keys
|
||||||
|
|
||||||
# Set up a tracing instance for system_server to monitor error_report_end events.
|
|
||||||
# These are sent by kernel tools like KASAN and KFENCE when a memory corruption
|
|
||||||
# is detected.
|
|
||||||
mkdir /sys/kernel/tracing/instances/bootreceiver 0700 system system
|
|
||||||
restorecon_recursive /sys/kernel/tracing/instances/bootreceiver
|
|
||||||
write /sys/kernel/tracing/instances/bootreceiver/buffer_size_kb 1
|
|
||||||
write /sys/kernel/tracing/instances/bootreceiver/trace_options disable_on_free
|
|
||||||
write /sys/kernel/tracing/instances/bootreceiver/events/error_report/error_report_end/enable 1
|
|
||||||
|
|
||||||
on post-fs-data
|
on post-fs-data
|
||||||
mark_post_data
|
mark_post_data
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue