Home
last modified time | relevance | path

Searched refs:attrs_ (Results 1 – 3 of 3) sorted by relevance

/system/extras/simpleperf/
Drecord_file_test.cpp41 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 RecordFileTest
108 attrs_[0]->sample_id_all = 1; in TEST_F()
109 attrs_[0]->sample_type |= PERF_SAMPLE_TIME; in TEST_F()
/system/extras/perfprofd/quipper/
Dperf_reader.cc905 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()
Dperf_reader.h157 return attrs_; in attrs()
262 std::vector<PerfFileAttr> attrs_; variable