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 | b2ee57823dbc50b7a4f84bcb8a96e15e178cac74 (patch) | |
| tree | 38e2db1a6e802ef1176310cbbceff516e54f1cfb /init/builtins.cpp | |
| parent | e8a701f4a6a0c11dc7bae627e2deb90ef8205cc3 (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 76e3d6e331..fc0459c130 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}}, |
