summaryrefslogtreecommitdiff
path: root/init/bootchart.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'init/bootchart.cpp')
-rw-r--r--init/bootchart.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/init/bootchart.cpp b/init/bootchart.cpp
index 825603a9a..4727f92e9 100644
--- a/init/bootchart.cpp
+++ b/init/bootchart.cpp
@@ -40,6 +40,9 @@
using android::base::StringPrintf;
using namespace std::chrono_literals;
+namespace android {
+namespace init {
+
static std::thread* g_bootcharting_thread;
static std::mutex g_bootcharting_finished_mutex;
@@ -192,3 +195,6 @@ int do_bootchart(const std::vector<std::string>& args) {
if (args[1] == "start") return do_bootchart_start();
return do_bootchart_stop();
}
+
+} // namespace init
+} // namespace android