Lines Matching defs:recordMmap
447 auto recordMmap = static_cast<PerfRecordMmap *>(&record);
448 UpdateFromRecord(*recordMmap);
657 void VirtualRuntime::UpdateFromRecord(PerfRecordMmap &recordMmap)
659 HLOGV(" MMAP: size %d pid %u tid %u", recordMmap.header.size, recordMmap.data_.pid,
660 recordMmap.data_.tid);
661 HLOGV(" MMAP: %s dso '%s' (0x%llx-0x%llx)@0x%llx", recordMmap.inKernel() ? "kernel" : "user",
662 recordMmap.data_.filename, recordMmap.data_.addr,
663 recordMmap.data_.addr + recordMmap.data_.len, recordMmap.data_.pgoff);
665 // don't overwrite the vailed mmap , so we also check the recordMmap.data_.len
666 if (IsKernelThread(recordMmap.data_.pid)) {
667 UpdateKernelThreadMap(recordMmap.data_.pid, recordMmap.data_.addr,
668 recordMmap.data_.len, recordMmap.data_.filename);
669 } else if (recordMmap.inKernel()) {
670 UpdatekernelMap(recordMmap.data_.addr, recordMmap.data_.addr + recordMmap.data_.len,
671 recordMmap.data_.pgoff, recordMmap.data_.filename);
673 NeedAdaptSandboxPath(recordMmap.data_.filename, recordMmap.data_.pid, recordMmap.header.size);
674 FixHMBundleMmap(recordMmap.data_.filename, recordMmap.data_.pid, recordMmap.header.size);
675 auto map = UpdateThreadMaps(recordMmap.data_.pid, recordMmap.data_.tid, recordMmap.data_.filename,
676 recordMmap.data_.addr, recordMmap.data_.len, recordMmap.data_.pgoff);
677 UpdateSymbols(map, recordMmap.data_.pid);