Merge "init.qcom.rc: Add support for enabling ramdump collection on boot."
This commit is contained in:
commit
7088647519
|
@ -275,9 +275,22 @@ service ssr_setup /system/bin/ssr_setup
|
|||
oneshot
|
||||
disabled
|
||||
|
||||
service ss_ramdump /system/bin/subsystem_ramdump
|
||||
class main
|
||||
user system
|
||||
group system
|
||||
disabled
|
||||
|
||||
on property:persist.sys.ssr.restart_level=*
|
||||
start ssr_setup
|
||||
|
||||
on property:persist.sys.ssr.enable_ramdumps=1
|
||||
write /sys/module/subsystem_restart/parameters/enable_ramdumps 1
|
||||
start ss_ramdump
|
||||
|
||||
on property:persist.sys.ssr.enable_ramdumps=0
|
||||
write /sys/module/subsystem_restart/parameters/enable_ramdumps 0
|
||||
|
||||
on property:sys.boot_completed=1
|
||||
write /dev/kmsg "Boot completed "
|
||||
|
||||
|
|
Loading…
Reference in New Issue