Searched refs:auxtrace (Results 1 – 5 of 5) sorted by relevance
/system/extras/simpleperf/ |
D | record_file_writer.cpp | 134 auto auxtrace = static_cast<const AuxTraceRecord*>(&record); in WriteRecord() local 135 result = WriteData(auxtrace->location.addr, auxtrace->data->aux_size); in WriteRecord() 212 auto auxtrace = static_cast<AuxTraceRecord*>(r.get()); in ReadDataSection() local 213 auxtrace->location.file_offset = data_section_offset_ + read_pos; in ReadDataSection() 214 if (fseek(record_fp_, auxtrace->data->aux_size, SEEK_CUR) != 0) { in ReadDataSection() 218 read_pos += auxtrace->data->aux_size; in ReadDataSection()
|
D | RecordReadThread.cpp | 306 auto auxtrace = static_cast<AuxTraceRecord*>(r.get()); in GetRecord() local 307 record_buffer_.AddCurrentRecordSize(auxtrace->data->aux_size); in GetRecord() 308 auxtrace->location.addr = r->Binary() + r->size(); in GetRecord() 592 AuxTraceRecord auxtrace(Align(aux_size, 8), offset, event_fd->Cpu(), 0, event_fd->Cpu()); in ReadAuxDataFromKernelBuffer() local 593 size_t alloc_size = auxtrace.size() + auxtrace.data->aux_size; in ReadAuxDataFromKernelBuffer() 599 MoveToBinaryFormat(auxtrace.Binary(), auxtrace.size(), p); in ReadAuxDataFromKernelBuffer() 604 size_t pad_size = auxtrace.data->aux_size - aux_size; in ReadAuxDataFromKernelBuffer()
|
D | record_file_reader.cpp | 323 auto auxtrace = static_cast<AuxTraceRecord*>(r.get()); in ReadRecord() local 324 auxtrace->location.file_offset = header_.data.offset + read_record_size_; in ReadRecord() 325 read_record_size_ += auxtrace->data->aux_size; in ReadRecord() 326 if (fseek(record_fp_, auxtrace->data->aux_size, SEEK_CUR) != 0) { in ReadRecord() 612 AuxTraceRecord auxtrace(buf.get()); in BuildAuxDataLocation() local 613 aux_data_location_[auxtrace.data->cpu].emplace_back( in BuildAuxDataLocation() 614 auxtrace.data->offset, auxtrace.data->aux_size, offset + auxtrace.size()); in BuildAuxDataLocation()
|
D | RecordReadThread_test.cpp | 517 auto auxtrace = static_cast<AuxTraceRecord*>(r.get()); in TEST_F() local 519 ASSERT_EQ(auxtrace->data->aux_size, in TEST_F() 521 const char* p = auxtrace->location.addr; in TEST_F()
|
D | cmd_record.cpp | 1650 auto auxtrace = static_cast<const AuxTraceRecord*>(r); in DumpAdditionalFeatures() local 1651 auxtrace_offset.emplace_back(auxtrace->location.file_offset - auxtrace->size()); in DumpAdditionalFeatures()
|