projects
/
GitHub
/
mt8127
/
android_device_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
173f2f8
)
Allow to access debugfs
author
Jan Altensen
<info@stricted.net>
Mon, 25 Feb 2019 16:13:56 +0000
(17:13 +0100)
committer
Jan Altensen
<info@stricted.net>
Mon, 25 Feb 2019 16:13:56 +0000
(17:13 +0100)
Change-Id: I09d8fd11244e1c6d21c64079ef247f58836515f3
ramdisk/init.mt8127.rc
patch
|
blob
|
blame
|
history
diff --git
a/ramdisk/init.mt8127.rc
b/ramdisk/init.mt8127.rc
index 9bb5e568b00b92e8b09c7a4df680623511191782..823c0182c379723e7309ea8d1b70eab694a8af16 100644
(file)
--- a/
ramdisk/init.mt8127.rc
+++ b/
ramdisk/init.mt8127.rc
@@
-168,6
+168,12
@@
on init
chown root system /proc/mtprof/reboot_pid
on boot
+ # Allow to access debugfs
+ chmod 755 /sys/kernel/debug
+
+ # Set up kernel tracing, but disable it by default
+ chmod 0222 /sys/kernel/debug/tracing/trace_marker
+ write /sys/kernel/debug/tracing/tracing_on 0
# start sensor services
# start akmd8963