Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Drecord_file.h163 bool ReadAuxData(uint32_t cpu, uint64_t aux_offset, void* buf, size_t size);
203 uint64_t aux_offset; 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_reader.cpp563 bool RecordFileReader::ReadAuxData(uint32_t cpu, uint64_t aux_offset, void* buf, size_t size) { in ReadAuxData() argument
575 auto comp = [](uint64_t aux_offset, const AuxDataLocation& location) { in ReadAuxData() argument
576 return aux_offset < location.aux_offset; in ReadAuxData()
578 auto location_it = std::upper_bound(it->second.begin(), it->second.end(), aux_offset, comp); in ReadAuxData()
581 if (location_it->aux_offset + location_it->aux_size >= aux_offset + size) { in ReadAuxData()
588 << aux_offset << ", size " << size; in ReadAuxData()
591 if (!ReadAtOffset(aux_offset - location->aux_offset + location->file_offset, buf, size)) { in ReadAuxData()
Devent_fd.cpp266 mmap_metadata_page_->aux_offset = mmap_len_; in CreateAuxBuffer()
271 perf_event_fd_, mmap_metadata_page_->aux_offset); in CreateAuxBuffer()
Dcmd_inject.cpp232 if (!record_file_reader_->ReadAuxData(aux->Cpu(), aux->data->aux_offset, in ProcessRecord()
Dcmd_dumprecord.cpp373 if (!record_file_reader_->ReadAuxData(aux.Cpu(), aux.data->aux_offset, data.get(), size)) { in DumpAuxData()
Drecord.h430 uint64_t aux_offset; member
Drecord.cpp889 PrintIndented(indent, "aux_offset %" PRIu64 "\n", data->aux_offset); in DumpData()