From ec9f8ff6da007e632d37f3e383e61a624760a40d Mon Sep 17 00:00:00 2001 From: Ziyan Date: Thu, 15 Jan 2015 22:11:16 +0100 Subject: tuna: fix tracer permissions --- rootdir/init.tuna.rc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'rootdir') diff --git a/rootdir/init.tuna.rc b/rootdir/init.tuna.rc index 769b8ab..6d2cc93 100755 --- a/rootdir/init.tuna.rc +++ b/rootdir/init.tuna.rc @@ -268,6 +268,10 @@ service battery_charger /sbin/healthd -c critical seclabel u:r:healthd:s0 +# Allow writing to the kernel trace log. Enabling tracing still requires root. +on property:ro.debuggable=1 + chmod 0222 /sys/kernel/debug/tracing/trace_marker + # CyanogenMod Performance Profiles # Powersave on property:sys.perf.profile=0 -- cgit v1.1