Home
last modified time | relevance | path

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

/system/extras/simpleperf/
DRecordReadThread.cpp307 record_buffer_.AddCurrentRecordSize(auxtrace->data->aux_size); in GetRecord()
587 size_t aux_size = size[0] + size[1]; in ReadAuxDataFromKernelBuffer() local
588 if (aux_size == 0) { in ReadAuxDataFromKernelBuffer()
592 AuxTraceRecord auxtrace(Align(aux_size, 8), offset, event_fd->Cpu(), 0, event_fd->Cpu()); in ReadAuxDataFromKernelBuffer()
593 size_t alloc_size = auxtrace.size() + auxtrace.data->aux_size; in ReadAuxDataFromKernelBuffer()
595 stat_.lost_aux_data_size += aux_size; in ReadAuxDataFromKernelBuffer()
604 size_t pad_size = auxtrace.data->aux_size - aux_size; in ReadAuxDataFromKernelBuffer()
610 stat_.aux_data_size += aux_size; in ReadAuxDataFromKernelBuffer()
611 LOG(DEBUG) << "record aux data " << aux_size << " bytes"; in ReadAuxDataFromKernelBuffer()
613 event_fd->DiscardAuxData(aux_size); in ReadAuxDataFromKernelBuffer()
Dcmd_inject.cpp227 uint64_t aux_size = aux->data->aux_size; in ProcessRecord() local
228 if (aux_size > 0) { in ProcessRecord()
229 if (aux_data_buffer_.size() < aux_size) { in ProcessRecord()
230 aux_data_buffer_.resize(aux_size); in ProcessRecord()
233 aux_data_buffer_.data(), aux_size)) { in ProcessRecord()
237 return etm_decoder_->ProcessData(aux_data_buffer_.data(), aux_size); in ProcessRecord()
Drecord_file.h204 uint64_t aux_size; member
207 AuxDataLocation(uint64_t aux_offset, uint64_t aux_size, uint64_t file_offset) in AuxDataLocation()
208 : aux_offset(aux_offset), aux_size(aux_size), file_offset(file_offset) {} in AuxDataLocation()
Drecord_file_writer.cpp135 result = WriteData(auxtrace->location.addr, auxtrace->data->aux_size); in WriteRecord()
214 if (fseek(record_fp_, auxtrace->data->aux_size, SEEK_CUR) != 0) { in ReadDataSection()
218 read_pos += auxtrace->data->aux_size; in ReadDataSection()
Drecord_file_reader.cpp325 read_record_size_ += auxtrace->data->aux_size; in ReadRecord()
326 if (fseek(record_fp_, auxtrace->data->aux_size, SEEK_CUR) != 0) { in ReadRecord()
581 if (location_it->aux_offset + location_it->aux_size >= aux_offset + size) { in ReadAuxData()
614 auxtrace.data->offset, auxtrace.data->aux_size, offset + auxtrace.size()); in BuildAuxDataLocation()
Drecord.h431 uint64_t aux_size; member
493 uint64_t aux_size; member
509 AuxTraceRecord(uint64_t aux_size, uint64_t offset, uint32_t idx, uint32_t tid, uint32_t cpu);
Devent_fd.cpp267 mmap_metadata_page_->aux_size = aux_buffer_size; in CreateAuxBuffer()
Drecord.cpp890 PrintIndented(indent, "aux_size %" PRIu64 "\n", data->aux_size); in DumpData()
987 AuxTraceRecord::AuxTraceRecord(uint64_t aux_size, uint64_t offset, uint32_t idx, uint32_t tid, in AuxTraceRecord() argument
995 data->aux_size = aux_size; in AuxTraceRecord()
1006 PrintIndented(indent, "aux_size %" PRIu64 "\n", data->aux_size); in DumpData()
Dcmd_dumprecord.cpp370 size_t size = aux.data->aux_size; in DumpAuxData()
DRecordReadThread_test.cpp519 ASSERT_EQ(auxtrace->data->aux_size, in TEST_F()