summaryrefslogtreecommitdiff
path: root/simpleperf/event_selection_set.h
diff options
context:
space:
mode:
authorYabin Cui <yabinc@google.com>2020-09-01 10:52:28 -0700
committerYabin Cui <yabinc@google.com>2020-09-01 13:26:08 -0700
commita22f3b948a42628d2c89b66c8a3400856ef9cec0 (patch)
treebecc2503a4bcfb300e712b02fad42c5c705c86b5 /simpleperf/event_selection_set.h
parentd62949cffb5cddf7465811ec610e586285099ff9 (diff)
downloadextras-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.h')
-rw-r--r--simpleperf/event_selection_set.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/simpleperf/event_selection_set.h b/simpleperf/event_selection_set.h
index 6a6a063f..ad24d1a9 100644
--- a/simpleperf/event_selection_set.h
+++ b/simpleperf/event_selection_set.h
@@ -33,6 +33,8 @@
#include "record.h"
#include "RecordReadThread.h"
+namespace simpleperf {
+
constexpr double DEFAULT_PERIOD_TO_CHECK_MONITORED_TARGETS_IN_SEC = 1;
constexpr uint64_t DEFAULT_SAMPLE_FREQ_FOR_NONTRACEPOINT_EVENT = 4000;
constexpr uint64_t DEFAULT_SAMPLE_PERIOD_FOR_TRACEPOINT_EVENT = 1;
@@ -226,4 +228,6 @@ bool IsDumpingRegsForTracepointEventsSupported();
bool IsSettingClockIdSupported();
bool IsMmap2Supported();
+} // namespace simpleperf
+
#endif // SIMPLE_PERF_EVENT_SELECTION_SET_H_