init.qcom.rc: create /data/ramdump directory for subsystem_ramdump
To store subsystem ramdumps on persistent storage, /data/ramdump folder is created on persist.sys.ssr.enable_ramdumps property set Change-Id: I9aba35e09656c36f1056fc2255f75e094916fafa CRs-Fixed: 838055
This commit is contained in:
parent
d16caca83c
commit
aeb8a95dee
|
@ -334,6 +334,7 @@ on property:persist.sys.ssr.restart_level=*
|
||||||
|
|
||||||
on property:persist.sys.ssr.enable_ramdumps=1
|
on property:persist.sys.ssr.enable_ramdumps=1
|
||||||
write /sys/module/subsystem_restart/parameters/enable_ramdumps 1
|
write /sys/module/subsystem_restart/parameters/enable_ramdumps 1
|
||||||
|
mkdir /data/ramdump 770 system system
|
||||||
start ss_ramdump
|
start ss_ramdump
|
||||||
|
|
||||||
on property:persist.sys.ssr.enable_ramdumps=0
|
on property:persist.sys.ssr.enable_ramdumps=0
|
||||||
|
|
Loading…
Reference in New Issue