Enable ramdump on debug.htc.ramdump.crash

Enable ramdump on a live system by enabling the
property debug.htc.ramdump.crash.

This property is protected by selinux policy
with the label ramdump_prop.

Bug: 62437259
Test: forced ramdump from Ramdump Uploader app.
Change-Id: Ifa9b7cf22749c0686e7d01ca2a4fc10dbd4b729c
This commit is contained in:
Andrew Chant
2017-07-06 16:57:24 -07:00
parent f5ed4d3d87
commit dceb04a94f

View File

@@ -381,3 +381,6 @@ service cnss_diag_txt /vendor/bin/cnss_diag -s -f -m /data/vendor/wifi/cnss_diag
group system
disabled
oneshot
on property:debug.htc.ramdump.crash=true
write /proc/sysrq-trigger "c"