diff options
author | Than McIntosh <thanm@google.com> | 2015-04-28 14:32:35 -0400 |
---|---|---|
committer | Dehao Chen <dehao@google.com> | 2015-05-04 11:50:27 -0700 |
commit | 7d678d8d78b40c9c7697565637ba5e4dc81ec02f (patch) | |
tree | 53b6938afde69ffa15032a5e23f3b3f1656d7613 /rootdir | |
parent | e1a55004e9fa46055c59f86e952e9e457c36c3f2 (diff) | |
download | system_core-7d678d8d78b40c9c7697565637ba5e4dc81ec02f.tar.gz system_core-7d678d8d78b40c9c7697565637ba5e4dc81ec02f.tar.bz2 system_core-7d678d8d78b40c9c7697565637ba5e4dc81ec02f.zip |
Invoke perfprofd daemon (only for userdebug/eng builds).
Change-Id: Ifaabe32dda6db249efc62c5db3760e32295eb1a9
(cherry picked from commit d6544d2a405df4c6e1fb517b1038a3640ae5f095)
Diffstat (limited to 'rootdir')
-rw-r--r-- | rootdir/init.rc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc index 40cd070dd..02b36565d 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -655,3 +655,11 @@ service pre-recovery /system/bin/uncrypt class main disabled oneshot + +on property:ro.debuggable=1 + start perfprofd + +service perfprofd /system/xbin/perfprofd + disabled + user root + oneshot |