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:
parent
030be3a5f8
commit
cecea925c5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user