diff options
author | Yabin Cui <yabinc@google.com> | 2020-09-01 10:52:28 -0700 |
---|---|---|
committer | Yabin Cui <yabinc@google.com> | 2020-09-01 13:26:08 -0700 |
commit | a22f3b948a42628d2c89b66c8a3400856ef9cec0 (patch) | |
tree | becc2503a4bcfb300e712b02fad42c5c705c86b5 /simpleperf/event_selection_set.cpp | |
parent | d62949cffb5cddf7465811ec610e586285099ff9 (diff) | |
download | extras-a22f3b948a42628d2c89b66c8a3400856ef9cec0.tar.gz |
simpleperf: Move event_type.h and related headers into simpleperf namespace.
Bug: 166335356
Test: run simpleperf_unit_test.
Change-Id: Ib75c72d600a132cfacc7e9f3717327c58632e760
Diffstat (limited to 'simpleperf/event_selection_set.cpp')
-rw-r--r-- | simpleperf/event_selection_set.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/simpleperf/event_selection_set.cpp b/simpleperf/event_selection_set.cpp index 644fa9b3..790db43d 100644 --- a/simpleperf/event_selection_set.cpp +++ b/simpleperf/event_selection_set.cpp @@ -35,7 +35,8 @@ #include "RecordReadThread.h" using android::base::StringPrintf; -using namespace simpleperf; + +namespace simpleperf { bool IsBranchSamplingSupported() { const EventType* type = FindEventTypeByName("cpu-cycles"); @@ -832,3 +833,5 @@ bool EventSelectionSet::SetEnableEvents(bool enable) { } return true; } + +} // namespace simpleperf |