Searched refs:EventFormat (Results 1 – 1 of 1) sorted by relevance
38 struct EventFormat { struct39 EventFormat(const std::string& name, const std::string& attr, int shift) in EventFormat() function133 static std::vector<EventFormat> ParseEventFormats(const std::string& evtdev_path) { in ParseEventFormats()134 std::vector<EventFormat> v; in ParseEventFormats()152 v.emplace_back(EventFormat(format_name, "config", shift)); in ParseEventFormats()157 static uint64_t MakeEventConfig(const std::string& event_str, std::vector<EventFormat>& formats) { in MakeEventConfig()204 std::vector<EventFormat> formats = ParseEventFormats(evtdev_path); in GetPmuEventTypes()