Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Drecord_file_writer.cpp199 std::vector<char> record_buf(512); in ReadDataSection() local
202 if (!Read(record_buf.data(), Record::header_size())) { in ReadDataSection()
205 RecordHeader header(record_buf.data()); in ReadDataSection()
206 if (record_buf.size() < header.size) { in ReadDataSection()
207 record_buf.resize(header.size); in ReadDataSection()
209 if (!Read(record_buf.data() + Record::header_size(), header.size - Record::header_size())) { in ReadDataSection()
213 std::unique_ptr<Record> r = ReadRecordFromBuffer(event_attr_, header.type, record_buf.data()); in ReadDataSection()