mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_sm6150-common
synced 2026-01-27 16:26:02 +00:00
davinci: rootdir: 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
This commit is contained in:
@@ -32,6 +32,8 @@ on early-init
|
||||
mount debugfs debugfs /sys/kernel/debug
|
||||
chmod 0755 /sys/kernel/debug
|
||||
chmod 0755 /sys/kernel/debug/tracing
|
||||
mount tracefs tracefs /sys/kernel/tracing
|
||||
chmod 0755 /sys/kernel/tracing
|
||||
|
||||
# Change ownership of hw_recovery related nodes
|
||||
chown system graphics /sys/kernel/debug/dri/0/debug/dump
|
||||
|
||||
Reference in New Issue
Block a user