diff options
author | Yabin Cui <yabinc@google.com> | 2021-01-11 17:35:57 -0800 |
---|---|---|
committer | Yabin Cui <yabinc@google.com> | 2021-01-11 17:50:30 -0800 |
commit | faa7b928abeb04bd46c7f66213a79caf450016de (patch) | |
tree | c3c5004e7b95017eee1daf6c9e7c4583736c1610 /simpleperf/cmd_inject.cpp | |
parent | c1cc718bcc6965536d5c6be8bc9e65f6690ecacc (diff) | |
download | extras-faa7b928abeb04bd46c7f66213a79caf450016de.tar.gz |
simpleperf: move all source files into simpleperf namespace
Bug: none
Test: run simpleperf_unit_test
Change-Id: I348028ee5bea90ce908bc240fc5efc22c4cd540f
Diffstat (limited to 'simpleperf/cmd_inject.cpp')
-rw-r--r-- | simpleperf/cmd_inject.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/simpleperf/cmd_inject.cpp b/simpleperf/cmd_inject.cpp index d0925731..a2b5b09b 100644 --- a/simpleperf/cmd_inject.cpp +++ b/simpleperf/cmd_inject.cpp @@ -31,8 +31,6 @@ #include "thread_tree.h" #include "utils.h" -using namespace simpleperf; - namespace simpleperf { std::string BranchToProtoString(const std::vector<bool>& branch) { @@ -56,8 +54,6 @@ std::vector<bool> ProtoStringToBranch(const std::string& s, size_t bit_size) { return branch; } -} // namespace simpleperf - namespace { using AddrPair = std::pair<uint64_t, uint64_t>; @@ -512,8 +508,6 @@ class InjectCommand : public Command { } // namespace -namespace simpleperf { - void RegisterInjectCommand() { return RegisterCommand("inject", [] { return std::unique_ptr<Command>(new InjectCommand); }); } |