Searched refs:attrs_ (Results 1 – 3 of 3) sorted by relevance
41 attrs_.push_back(std::unique_ptr<perf_event_attr>(new perf_event_attr(attr))); in AddEventType()43 attr_id.attr = attrs_.back().get(); in AddEventType()44 attr_id.ids.push_back(attrs_.size()); // Fake id. in AddEventType()49 std::vector<std::unique_ptr<perf_event_attr>> attrs_; member in RecordFileTest108 attrs_[0]->sample_id_all = 1; in TEST_F()109 attrs_[0]->sample_type |= PERF_SAMPLE_TIME; in TEST_F()
905 attrs_.push_back(attr); in ReadAttr()1137 if (event_types_.size() != attrs_.size()) { in ReadMetadata()1140 << attrs_.size(); in ReadMetadata()1374 for (size_t i = 0; i < attrs_.size(); ++i) { in ReadAttrEventBlock()1375 if (attrs_[i].ids[0] == attr.ids[0]) in ReadAttrEventBlock()1378 attrs_.push_back(attr); in ReadAttrEventBlock()1481 if (event_types_.size() > 0 && event_types_.size() != attrs_.size()) { in GetEventDescMetadataSize()1484 << attrs_.size(); in GetEventDescMetadataSize()1489 for (size_t i = 0; i < attrs_.size(); ++i) { in GetEventDescMetadataSize()1493 size += attrs_[i].ids.size() * sizeof(attrs_[i].ids[0]); in GetEventDescMetadataSize()
157 return attrs_; in attrs()262 std::vector<PerfFileAttr> attrs_; variable