From: Jan Altensen Date: Mon, 25 Feb 2019 16:13:56 +0000 (+0100) Subject: Allow to access debugfs X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=64c07cc0fe10fe7ceb7909d0111206c76510c936;p=GitHub%2Fmt8127%2Fandroid_device_alcatel_ttab.git Allow to access debugfs Change-Id: I09d8fd11244e1c6d21c64079ef247f58836515f3 --- diff --git a/ramdisk/init.mt8127.rc b/ramdisk/init.mt8127.rc index 9bb5e56..823c018 100644 --- 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