From fa3fd615b04aa1e439d2cdedd286d1d93a4c147f Mon Sep 17 00:00:00 2001 From: James Hawkins Date: Wed, 18 Jan 2017 15:14:29 -0800 Subject: [PATCH] SystemServer: Remove logging boot_android_init. This is now logged by the bootstat command. Bug: 34391732 Test: none Change-Id: I8bbc22e3c7b0268876c4819ed48b7e4b31d6fb3e --- services/java/com/android/server/SystemServer.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/services/java/com/android/server/SystemServer.java b/services/java/com/android/server/SystemServer.java index 08fb5911374f8..a44916513aa15 100644 --- a/services/java/com/android/server/SystemServer.java +++ b/services/java/com/android/server/SystemServer.java @@ -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