diff options
Diffstat (limited to 'simpleperf/event_attr.cpp')
-rw-r--r-- | simpleperf/event_attr.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/simpleperf/event_attr.cpp b/simpleperf/event_attr.cpp index ecc08439..c923375c 100644 --- a/simpleperf/event_attr.cpp +++ b/simpleperf/event_attr.cpp @@ -27,6 +27,8 @@ #include "event_type.h" #include "utils.h" +namespace simpleperf { + static std::string BitsToString(const std::string& name, uint64_t bits, const std::vector<std::pair<int, std::string>>& bit_names) { std::string result; @@ -245,3 +247,5 @@ std::string GetEventNameByAttr(const perf_event_attr& attr) { } return "unknown"; } + +} // namespace simpleperf |