diff options
author | Elliott Hughes <enh@google.com> | 2016-11-10 17:43:47 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2016-12-08 17:35:45 -0800 |
commit | a3641af22fdb0f1b3127e4d56e65c13ad108d74a (patch) | |
tree | 38e2db1a6e802ef1176310cbbceff516e54f1cfb /init/builtins.cpp | |
parent | e218fc673fcc0aa4a7291b4a2161d9427aa79aa3 (diff) |
Improve init bootcharting.
Most notably, there's no longer any need to guess an end time.
Bug: http://b/23478578
Bug: http://b/33450491
Test: rebooted with bootcharting on/off
Change-Id: Icb7d6859581da5526d77dfc5aa4d57c9bfbfd7e2
Diffstat (limited to 'init/builtins.cpp')
-rw-r--r-- | init/builtins.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init/builtins.cpp b/init/builtins.cpp index 76e3d6e33..fc0459c13 100644 --- a/init/builtins.cpp +++ b/init/builtins.cpp @@ -1023,7 +1023,7 @@ static int do_init_user0(const std::vector<std::string>& args) { BuiltinFunctionMap::Map& BuiltinFunctionMap::map() const { constexpr std::size_t kMax = std::numeric_limits<std::size_t>::max(); static const Map builtin_functions = { - {"bootchart_init", {0, 0, do_bootchart_init}}, + {"bootchart", {1, 1, do_bootchart}}, {"chmod", {2, 2, do_chmod}}, {"chown", {2, 3, do_chown}}, {"class_reset", {1, 1, do_class_reset}}, |