summaryrefslogtreecommitdiffstats
path: root/init/Android.mk
diff options
context:
space:
mode:
authorYongqin Liu <yongqin.liu@linaro.org>2014-12-05 13:45:02 +0800
committerElliott Hughes <enh@google.com>2015-02-12 12:13:24 -0800
commita197ff12dd336a9945ad1164402980296f9c235c (patch)
treeb01d81e0a3f06b3b239005697112de20f389ccda /init/Android.mk
parented318bff41c4515ca79a11afb97507a452e9fcd3 (diff)
downloadsystem_core-a197ff12dd336a9945ad1164402980296f9c235c.zip
system_core-a197ff12dd336a9945ad1164402980296f9c235c.tar.gz
system_core-a197ff12dd336a9945ad1164402980296f9c235c.tar.bz2
bootchart: fix bootchart can not be triggered problem
bootchart uses a file on the data partition to decide if it should collect data for bootchart, but the data partition will be mounted by the mount_all command in the "on fs" section, and it will be only added into the action queue when command "trigger fs" is executed, but that's after the bootchart_init action (late_init). This change makes bootchart_init a builtin command of init, and make it executed as the first command of "on post-fs" section which will be triggered after the "on fs" section. This change also refactors the bootchart code to all be in bootchart.cpp. Change-Id: Ia74aa34ca5b785f51fcffdd383075a549b2a99d9 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
Diffstat (limited to 'init/Android.mk')
-rw-r--r--init/Android.mk6
1 files changed, 0 insertions, 6 deletions
diff --git a/init/Android.mk b/init/Android.mk
index 7f3788a..a3b01e1 100644
--- a/init/Android.mk
+++ b/init/Android.mk
@@ -4,12 +4,6 @@ LOCAL_PATH:= $(call my-dir)
# --
-ifeq ($(strip $(INIT_BOOTCHART)),true)
-init_options += -DBOOTCHART=1
-else
-init_options += -DBOOTCHART=0
-endif
-
ifneq (,$(filter userdebug eng,$(TARGET_BUILD_VARIANT)))
init_options += -DALLOW_LOCAL_PROP_OVERRIDE=1 -DALLOW_DISABLE_SELINUX=1
else