summaryrefslogtreecommitdiff
path: root/simpleperf/event_attr.h
diff options
context:
space:
mode:
Diffstat (limited to 'simpleperf/event_attr.h')
-rw-r--r--simpleperf/event_attr.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/simpleperf/event_attr.h b/simpleperf/event_attr.h
index 969f9f99..9957bf7c 100644
--- a/simpleperf/event_attr.h
+++ b/simpleperf/event_attr.h
@@ -24,6 +24,8 @@
#include "perf_event.h"
+namespace simpleperf {
+
struct EventType;
struct EventAttrWithId {
@@ -42,4 +44,6 @@ bool IsCpuSupported(const perf_event_attr& attr);
// This function is slow for using linear search, so only used when reporting.
std::string GetEventNameByAttr(const perf_event_attr& attr);
+} // namespace simpleperf
+
#endif // SIMPLE_PERF_EVENT_ATTR_H_