Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Drecord_file.h195 bool ReadAuxData(uint32_t cpu, uint64_t aux_offset, size_t size, std::vector<uint8_t>& buf,
239 uint64_t aux_offset; member
243 AuxDataLocation(uint64_t aux_offset, uint64_t aux_size, uint64_t file_offset) in AuxDataLocation()
244 : aux_offset(aux_offset), aux_size(aux_size), file_offset(file_offset) {} in AuxDataLocation()
Drecord_file_reader.cpp757 bool RecordFileReader::ReadAuxData(uint32_t cpu, uint64_t aux_offset, size_t size, in ReadAuxData() argument
766 OverflowResult aux_end = SafeAdd(aux_offset, size); in ReadAuxData()
779 auto comp = [](uint64_t aux_offset, const AuxDataLocation& location) { in ReadAuxData() argument
780 return aux_offset < location.aux_offset; in ReadAuxData()
782 auto location_it = std::upper_bound(it->second.begin(), it->second.end(), aux_offset, comp); in ReadAuxData()
785 if (location_it->aux_offset + location_it->aux_size >= aux_end.value) { in ReadAuxData()
792 LOG(INFO) << "aux data is missing: cpu " << cpu << ", aux_offset " << aux_offset << ", size " in ReadAuxData()
799 if (!ReadAtOffset(aux_offset - location->aux_offset + location->file_offset, buf.data(), size)) { in ReadAuxData()
824 OverflowResult aux_end = SafeAdd(location.aux_offset, location.aux_size); in BuildAuxDataLocation()
833 uint64_t prev_aux_end = prev_location.aux_offset + prev_location.aux_size; in BuildAuxDataLocation()
[all …]
Devent_fd.cpp263 mmap_metadata_page_->aux_offset = mmap_len_; in CreateAuxBuffer()
268 perf_event_fd_, mmap_metadata_page_->aux_offset); in CreateAuxBuffer()
DETMBranchListFile.cpp292 OverflowResult result = SafeAdd(r.data->aux_offset, r.data->aux_size); in ProcessAuxRecord()
298 uint64_t start = r.data->aux_offset; in ProcessAuxRecord()
Dcmd_dumprecord.cpp442 if (!record_file_reader_->ReadAuxData(aux.Cpu(), aux.data->aux_offset, size, data, error)) { in DumpAuxData()
Drecord.h438 uint64_t aux_offset; member
Dcmd_inject.cpp252 if (!record_file_reader_->ReadAuxData(aux->Cpu(), aux->data->aux_offset, aux_size, in ProcessRecord()
Drecord.cpp1034 PrintIndented(indent, "aux_offset %" PRIu64 "\n", data->aux_offset); in DumpData()