diff options
author | Jamie Gennis <jgennis@google.com> | 2012-04-10 18:01:38 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-04-10 18:01:38 -0700 |
commit | 720d598280e5ebd3fb7c845a2a11520bb646d645 (patch) | |
tree | 9d9ebf917f092ce7176f3c014df3a2897530cd0a | |
parent | cfa9f650266621fee963fe18084a39602aa8fcc6 (diff) | |
parent | db49739f390992a3d68303765ac36f14ed09b68a (diff) | |
download | system_core-720d598280e5ebd3fb7c845a2a11520bb646d645.zip system_core-720d598280e5ebd3fb7c845a2a11520bb646d645.tar.gz system_core-720d598280e5ebd3fb7c845a2a11520bb646d645.tar.bz2 |
Merge "Add tracing initialization to init.rc."
-rw-r--r-- | rootdir/init.rc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc index 71ec3fa..dfe2479 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -370,6 +370,10 @@ service console /system/bin/sh on property:ro.debuggable=1 start console +# 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 + # adbd is controlled via property triggers in init.<platform>.usb.rc service adbd /sbin/adbd class core |