SystemServer: Remove logging boot_android_init.

This is now logged by the bootstat command.

Bug: 34391732
Test: none
Change-Id: I8bbc22e3c7b0268876c4819ed48b7e4b31d6fb3e
This commit is contained in:
James Hawkins
2017-01-18 15:14:29 -08:00
parent 094119df3e
commit fa3fd615b0

View File

@@ -282,12 +282,6 @@ public final class SystemServer {
EventLog.writeEvent(EventLogTags.BOOT_PROGRESS_SYSTEM_RUN, uptimeMillis);
if (!mRuntimeRestart && !mFirstBoot) {
MetricsLogger.histogram(null, "boot_system_server_init", uptimeMillis);
// Also report when first stage of init has started
long initStartNs = SystemProperties.getLong("ro.boottime.init", -1);
if (initStartNs >= 0) {
MetricsLogger.histogram(null, "boot_android_init",
(int)(initStartNs / 1000000));
}
}
// In case the runtime switched since last boot (such as when