Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Drecord_file_test.cpp42 attrs_.push_back(std::unique_ptr<perf_event_attr>(new perf_event_attr(attr))); in AddEventType()
44 attr_id.attr = attrs_.back().get(); in AddEventType()
45 attr_id.ids.push_back(attrs_.size()); // Fake id. in AddEventType()
50 std::vector<std::unique_ptr<perf_event_attr>> attrs_; member in RecordFileTest
109 attrs_[0]->sample_id_all = 1; in TEST_F()
110 attrs_[0]->sample_type |= PERF_SAMPLE_TIME; in TEST_F()
/system/extras/perfprofd/quipper/
Dperf_reader.cc845 attrs_[0].attr, in ReadPerfSampleInfo()
846 attrs_.size(), in ReadPerfSampleInfo()
952 attrs_.push_back(attr); in ReadAttr()
1184 if (event_types_.size() != attrs_.size()) { in ReadMetadata()
1187 << attrs_.size(); in ReadMetadata()
1421 for (size_t i = 0; i < attrs_.size(); ++i) { in ReadAttrEventBlock()
1422 if (attrs_[i].ids[0] == attr.ids[0]) in ReadAttrEventBlock()
1425 attrs_.push_back(attr); in ReadAttrEventBlock()
1545 if (event_types_.size() > 0 && event_types_.size() != attrs_.size()) { in GetEventDescMetadataSize()
1548 << attrs_.size(); in GetEventDescMetadataSize()
[all …]
Dperf_reader.h157 return attrs_; in attrs()
262 std::vector<PerfFileAttr> attrs_; variable