Searched refs:auxtrace (Results 1 – 5 of 5) sorted by relevance
/system/extras/simpleperf/ |
D | RecordReadThread.cpp | 308 auto auxtrace = static_cast<AuxTraceRecord*>(r.get()); in GetRecord() local 309 record_buffer_.AddCurrentRecordSize(auxtrace->data->aux_size); in GetRecord() 310 auxtrace->location.addr = r->Binary() + r->size(); in GetRecord() 593 AuxTraceRecord auxtrace(Align(aux_size, 8), offset, event_fd->Cpu(), 0, event_fd->Cpu()); in ReadAuxDataFromKernelBuffer() local 594 size_t alloc_size = auxtrace.size() + auxtrace.data->aux_size; in ReadAuxDataFromKernelBuffer() 600 MoveToBinaryFormat(auxtrace.Binary(), auxtrace.size(), p); in ReadAuxDataFromKernelBuffer() 605 size_t pad_size = auxtrace.data->aux_size - aux_size; in ReadAuxDataFromKernelBuffer()
|
D | record_file_writer.cpp | 137 auto auxtrace = static_cast<const AuxTraceRecord*>(&record); in WriteRecord() local 138 result = WriteData(auxtrace->location.addr, auxtrace->data->aux_size); in WriteRecord() 215 auto auxtrace = static_cast<AuxTraceRecord*>(r.get()); in ReadDataSection() local 216 auxtrace->location.file_offset = data_section_offset_ + read_pos; in ReadDataSection() 217 if (fseek(record_fp_, auxtrace->data->aux_size, SEEK_CUR) != 0) { in ReadDataSection() 221 read_pos += auxtrace->data->aux_size; in ReadDataSection()
|
D | record_file_reader.cpp | 333 auto auxtrace = static_cast<AuxTraceRecord*>(r.get()); in ReadRecord() local 334 auxtrace->location.file_offset = header_.data.offset + read_record_size_; in ReadRecord() 335 read_record_size_ += auxtrace->data->aux_size; in ReadRecord() 336 if (fseek(record_fp_, auxtrace->data->aux_size, SEEK_CUR) != 0) { in ReadRecord() 657 AuxTraceRecord auxtrace(buf.get()); in BuildAuxDataLocation() local 658 aux_data_location_[auxtrace.data->cpu].emplace_back( in BuildAuxDataLocation() 659 auxtrace.data->offset, auxtrace.data->aux_size, offset + auxtrace.size()); in BuildAuxDataLocation()
|
D | RecordReadThread_test.cpp | 521 auto auxtrace = static_cast<AuxTraceRecord*>(r.get()); in TEST_F() local 523 ASSERT_EQ(auxtrace->data->aux_size, in TEST_F() 525 const char* p = auxtrace->location.addr; in TEST_F()
|
D | cmd_record.cpp | 1774 auto auxtrace = static_cast<const AuxTraceRecord*>(r); in DumpAdditionalFeatures() local 1775 auxtrace_offset.emplace_back(auxtrace->location.file_offset - auxtrace->size()); in DumpAdditionalFeatures()
|