DO NOT MERGE: gs201: init.debug.rc: Enable etm/etm2dram when ramdump is enabled

Bug: 265382296
Change-Id: Ib215551397a361f5734401173e62a15691e45425
(cherry picked from commit 7d695f4bff)
This commit is contained in:
Woody Lin 2023-02-05 12:26:40 +08:00
parent fdb65f4d14
commit cfaaafcf40

View file

@ -41,3 +41,8 @@ on property:ro.revision=PROTO1.1
setprop debug.hypervisor.metrics_tag "hwrev_a0"
on property:ro.revision=EVT1.0
setprop debug.hypervisor.metrics_tag "hwrev_a0"
# Enable etm/etm2dram when ramdump is enabled.
on property:ro.boot.ramdump=enabled
write /sys/devices/platform/exynos-etm/etm_on 1
write /sys/devices/platform/etm2dram/arm 1