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:
Prateek Sood 2020-04-28 20:31:15 +05:30 committed by Arian
parent 030be3a5f8
commit cecea925c5
No known key found for this signature in database
GPG Key ID: 48029380598CE3B9

View File

@ -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