sdm660-common: init.qcom.rc: Add support for tracefs when !CONFIG_DEBUG_FS

Mount of tracefs in /sys/kernel/debug/tracing will fail when DEBUG_FS
is disabled. So, mount tracefs in /sys/kernel/tracing to still use all the
tracing abilities when CONFIG_DEBUG_FS is disabled

Change-Id: Ib37332c3f1108d7c4798717f0f009c891db72850
Signed-off-by: pix106 <sbordenave@gmail.com>
This commit is contained in:
Prateek Sood 2020-04-28 20:31:15 +05:30 committed by pix106
parent bbe91ca79d
commit 4ce96ccaa9

View file

@ -32,6 +32,9 @@ import /vendor/etc/init/hw/init.device.rc
import /vendor/etc/init/hw/init.xiaomi_parts.rc
on early-init
mount tracefs tracefs /sys/kernel/tracing
chmod 0755 /sys/kernel/tracing
# Change ownership of sysfs power control node
chown system graphics /sys/class/drm/card0/device/power/control