summaryrefslogtreecommitdiff
path: root/simpleperf/cmd_inject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'simpleperf/cmd_inject.cpp')
-rw-r--r--simpleperf/cmd_inject.cpp6
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); });
}