Home
last modified time | relevance | path

Searched refs:pgoff (Results 1 – 18 of 18) sorted by relevance

/system/core/libprocinfo/include/procinfo/
Dprocess_map.h38 uint64_t pgoff; in ReadMapFileContent() local
115 pgoff = strtoull(p, &end, 16); in ReadMapFileContent()
139 callback(start_addr, end_addr, flags, pgoff, inode, p); in ReadMapFileContent()
164 uint64_t pgoff; member
168 MapInfo(uint64_t start, uint64_t end, uint16_t flags, uint64_t pgoff, ino_t inode, in MapInfo()
170 : start(start), end(end), flags(flags), pgoff(pgoff), inode(inode), name(name) {} in MapInfo()
175 pid, [&](uint64_t start, uint64_t end, uint16_t flags, uint64_t pgoff, ino_t inode, in ReadProcessMaps()
176 const char* name) { maps->emplace_back(start, end, flags, pgoff, inode, name); }); in ReadProcessMaps()
/system/core/libprocinfo/
Dprocess_map_test.cpp35 [&](uint64_t start, uint64_t end, uint16_t flags, uint64_t pgoff, ino_t inode, in TEST()
36 const char* name) { maps.emplace_back(start, end, flags, pgoff, inode, name); })); in TEST() argument
41 ASSERT_EQ(maps[0].pgoff, 0ULL); in TEST()
47 ASSERT_EQ(maps[876].pgoff, 0ULL); in TEST()
53 ASSERT_EQ(maps[1260].pgoff, 0ULL); in TEST()
64 [&](uint64_t start, uint64_t end, uint16_t flags, uint64_t pgoff, ino_t inode, in TEST()
65 const char* name) { maps.emplace_back(start, end, flags, pgoff, inode, name); })); in TEST()
77 TestMapInfo(uint64_t start, uint64_t end, uint16_t flags, uint64_t pgoff, ino_t inode, in TestMapInfo() argument
79 : start(start), end(end), flags(flags), pgoff(pgoff), inode(inode) { in TestMapInfo()
85 uint64_t pgoff = 0; member
[all …]
Dprocess_map_benchmark.cpp36 uint64_t pgoff, ino_t inode, const char* name) { in BM_ReadMapFile() argument
37 maps.emplace_back(start, end, flags, pgoff, inode, name); in BM_ReadMapFile()
/system/extras/simpleperf/
Dthread_tree.h45 uint64_t pgoff; member
50 MapEntry(uint64_t start_addr, uint64_t len, uint64_t pgoff,
54 pgoff(pgoff), in start_addr()
68 return dso->IpToVaddrInFile(addr, start_addr, pgoff); in GetVaddrInFile()
111 void AddKernelMap(uint64_t start_addr, uint64_t len, uint64_t pgoff,
115 uint64_t pgoff, const std::string& filename, uint32_t flags = 0);
Denvironment.h52 uint64_t pgoff; member
56 ThreadMmap(uint64_t start, uint64_t len, uint64_t pgoff, const char* name, uint32_t prot) in ThreadMmap()
57 : start_addr(start), len(len), pgoff(pgoff), name(name), prot(prot) {} in ThreadMmap()
Dthread_tree.cpp104 void ThreadTree::AddKernelMap(uint64_t start_addr, uint64_t len, uint64_t pgoff, in AddKernelMap() argument
111 InsertMap(kernel_maps_, MapEntry(start_addr, len, pgoff, dso, true)); in AddKernelMap()
128 uint64_t pgoff, const std::string& filename, uint32_t flags) { in AddThreadMap() argument
131 InsertMap(*thread->maps, MapEntry(start_addr, len, pgoff, dso, false, flags)); in AddThreadMap()
156 result.pgoff += result.start_addr - entry->start_addr; in RemoveFirstPartOfMapEntry()
236 vaddr_in_file = dso->IpToVaddrInFile(ip, map->start_addr, map->pgoff); in FindSymbol()
307 AddKernelMap(r.data->addr, r.data->len, r.data->pgoff, r.filename); in Update()
309 AddThreadMap(r.data->pid, r.data->tid, r.data->addr, r.data->len, r.data->pgoff, r.filename); in Update()
314 AddKernelMap(r.data->addr, r.data->len, r.data->pgoff, r.filename); in Update()
319 AddThreadMap(r.data->pid, r.data->tid, r.data->addr, r.data->len, r.data->pgoff, filename, in Update()
DOfflineUnwinder.cpp129 uint64_t pgoff = entry->pgoff; in CreateMapInfo() local
137 pgoff += elf->entry_offset(); in CreateMapInfo()
147 return new unwindstack::MapInfo(nullptr, nullptr, entry->start_addr, entry->get_end_addr(), pgoff, in CreateMapInfo()
Drecord.h276 uint64_t pgoff; member
284 uint32_t tid, uint64_t addr, uint64_t len, uint64_t pgoff,
299 uint64_t pgoff; member
311 uint64_t addr, uint64_t len, uint64_t pgoff, uint32_t prot,
Dthread_tree_test.cpp46 ASSERT_EQ(pair.second->pgoff, pair.first); in CheckMaps()
Dreport_lib_interface.cpp71 uint64_t pgoff; member
432 mapping->pgoff = map.pgoff; in AddMapping()
Drecord.cpp222 uint64_t pgoff, const std::string& filename, in MmapRecord() argument
233 data.pgoff = pgoff; in MmapRecord()
257 PrintIndented(indent, "pgoff 0x%" PRIx64 ", filename %s\n", data->pgoff, in DumpData()
273 uint64_t addr, uint64_t len, uint64_t pgoff, uint32_t prot, in Mmap2Record() argument
283 data.pgoff = pgoff; in Mmap2Record()
310 data->pgoff, data->maj, data->min, data->ino, in DumpData()
Dcmd_record.cpp1246 map.pgoff, map.prot, map.name, event_id, last_record_timestamp_); in DumpProcessMaps()
1419 map.pgoff, map.prot, map.name, attr_id.ids[0], timestamp); in ProcessJITDebugInfo()
1475 if (r.data->pgoff != 0 && (!has_prot || (prot & PROT_EXEC))) { in UpdateMmapRecordForEmbeddedPath()
1486 EmbeddedElf* ee = ApkInspector::FindElfInApkByOffset(filename, r.data->pgoff); in UpdateMmapRecordForEmbeddedPath()
1490 data.pgoff -= ee->entry_offset(); in UpdateMmapRecordForEmbeddedPath()
Denvironment.cpp240 pid, [&](uint64_t start, uint64_t end, uint16_t flags, uint64_t pgoff, in GetThreadMmapsInProcess()
242 thread_mmaps->emplace_back(start, end - start, pgoff, name, flags); in GetThreadMmapsInProcess()
DETMDecoder.cpp259 uint64_t offset = address - map->start_addr + map->pgoff; in ReadTargetMemory()
268 data.buffer = memory == nullptr ? nullptr : (memory->getBufferStart() + map->pgoff); in ReadTargetMemory()
DJITDebugReader.cpp749 uint64_t dex_file_offset = dex_entry.symfile_addr - it->start_addr + it->pgoff; in ReadDexFileDebugInfo()
/system/core/libunwindstack/
DMaps.cpp67 [&](uint64_t start, uint64_t end, uint16_t flags, uint64_t pgoff, ino_t, const char* name) { in Parse() argument
72 maps_.emplace_back(new MapInfo(prev_map, prev_real_map, start, end, pgoff, flags, name)); in Parse()
118 [&](uint64_t start, uint64_t end, uint16_t flags, uint64_t pgoff, ino_t, const char* name) { in Parse() argument
123 maps_.emplace_back(new MapInfo(prev_map, prev_real_map, start, end, pgoff, flags, name)); in Parse()
/system/memory/libmeminfo/
Dprocmeminfo.cpp277 maps_file, [&](uint64_t start, uint64_t end, uint16_t flags, uint64_t pgoff, ino_t, in ReadMaps()
281 maps_.emplace_back(Vma(start, end, pgoff, flags, name)); in ReadMaps()
464 line, [&](uint64_t start, uint64_t end, uint16_t flags, uint64_t pgoff, ino_t, in ForEachVmaFromFile()
469 vma.offset = pgoff; in ForEachVmaFromFile()
/system/extras/simpleperf/scripts/
Dpprof_proto_generator.py209 def __init__(self, start, end, pgoff, filename_id, build_id_id): argument
213 self.file_offset = pgoff
409 report_mapping.pgoff, filename_id, build_id_id)