Make system_server profilable on user.
Test: m with matching SELinux change. profile sys_srv. Bug: 151140716 Change-Id: I545b758421ea7527d75b5d2756a6b11ae475e7de
This commit is contained in:
@@ -513,10 +513,8 @@ public final class SystemServer {
|
||||
// Initialize native services.
|
||||
System.loadLibrary("android_servers");
|
||||
|
||||
// Debug builds - allow heap profiling.
|
||||
if (Build.IS_DEBUGGABLE) {
|
||||
initZygoteChildHeapProfiling();
|
||||
}
|
||||
// Allow heap / perf profiling.
|
||||
initZygoteChildHeapProfiling();
|
||||
|
||||
// Debug builds - spawn a thread to monitor for fd leaks.
|
||||
if (Build.IS_DEBUGGABLE) {
|
||||
|
||||
Reference in New Issue
Block a user