Searched refs:kernel_mmap (Results 1 – 3 of 3) sorted by relevance
/system/extras/simpleperf/ |
D | environment.cpp | 217 void GetKernelAndModuleMmaps(KernelMmap* kernel_mmap, std::vector<KernelMmap>* module_mmaps) { in GetKernelAndModuleMmaps() argument 218 kernel_mmap->name = DEFAULT_KERNEL_MMAP_NAME; in GetKernelAndModuleMmaps() 219 kernel_mmap->start_addr = 0; in GetKernelAndModuleMmaps() 220 kernel_mmap->filepath = kernel_mmap->name; in GetKernelAndModuleMmaps() 229 kernel_mmap->len = std::numeric_limits<unsigned long long>::max() - kernel_mmap->start_addr; in GetKernelAndModuleMmaps() 235 if (kernel_mmap->start_addr == (*module_mmaps)[0].start_addr) { in GetKernelAndModuleMmaps() 236 kernel_mmap->len = 0; in GetKernelAndModuleMmaps() 238 kernel_mmap->len = (*module_mmaps)[0].start_addr - kernel_mmap->start_addr - 1; in GetKernelAndModuleMmaps()
|
D | environment.h | 41 void GetKernelAndModuleMmaps(KernelMmap* kernel_mmap, std::vector<KernelMmap>* module_mmaps);
|
D | cmd_record.cpp | 533 KernelMmap kernel_mmap; in DumpKernelAndModuleMmaps() local 535 GetKernelAndModuleMmaps(&kernel_mmap, &module_mmaps); in DumpKernelAndModuleMmaps() 539 MmapRecord mmap_record = CreateMmapRecord(*attr, true, UINT_MAX, 0, kernel_mmap.start_addr, in DumpKernelAndModuleMmaps() 540 kernel_mmap.len, 0, kernel_mmap.filepath); in DumpKernelAndModuleMmaps()
|