Added BinderCallsStatsService
It tracks binder calls into the system server and reports statistics about CPU time spent per call on multiple dimensions, e.g. uid or call description. Usage: dumpsys binder_calls_stats Overhead: ~0.5% per binder call (if enabled) Test: manual Bug: 75318418 Change-Id: I13b854f67f8fd1c9f985b8e45f74dcba2e73b9cb
This commit is contained in:
@@ -703,6 +703,11 @@ public final class SystemServer {
|
||||
mWebViewUpdateService = mSystemServiceManager.startService(WebViewUpdateService.class);
|
||||
traceEnd();
|
||||
}
|
||||
|
||||
// Tracks cpu time spent in binder calls
|
||||
traceBeginAndSlog("StartBinderCallsStatsService");
|
||||
BinderCallsStatsService.start();
|
||||
traceEnd();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user