summaryrefslogtreecommitdiff
path: root/libcutils/socket_local_server_unix.cpp
diff options
context:
space:
mode:
authorYu Ning <yu.ning@intel.com>2015-07-15 16:41:51 +0800
committerYu Ning <yu.ning@intel.com>2015-07-15 16:41:51 +0800
commit9136f38aabe336545225e1a34d29cea660ee237f (patch)
tree060ddb87d8571559093d4edbb835e24afc5dc870 /libcutils/socket_local_server_unix.cpp
parenta0ced754367e75051d64c62ee4e2f1e4b9208169 (diff)
init: Fix bootchart trigger for emulator
When launched with "-bootchart <timeout>", the Android emulator appends "androidboot.bootchart=<timeout>" to the kernel command line, which signals /init to start bootcharting. However, the current implementation of bootchart_init() in init/bootchart.cpp does not parse the timeout value correctly, preventing bootcharting to be enabled on the emulator. This bug was introduced by commit 841b263 ("Further refactoring of the bootchart code"). Fix it to honor the "androidboot.bootchart" trigger. Change-Id: I221fe2c2f40a3a04bd478c3a083f7723bc309c8c Signed-off-by: Yu Ning <yu.ning@intel.com>
Diffstat (limited to 'libcutils/socket_local_server_unix.cpp')
0 files changed, 0 insertions, 0 deletions