From d6544d2a405df4c6e1fb517b1038a3640ae5f095 Mon Sep 17 00:00:00 2001 From: Than McIntosh Date: Tue, 28 Apr 2015 14:32:35 -0400 Subject: [PATCH] Invoke perfprofd daemon (only for userdebug/eng builds). Change-Id: Ifaabe32dda6db249efc62c5db3760e32295eb1a9 --- rootdir/init.rc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/rootdir/init.rc b/rootdir/init.rc index 3709b82db..657ef16ff 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -643,3 +643,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