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:
parent
bbe91ca79d
commit
4ce96ccaa9
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue