Home
last modified time | relevance | path

Searched refs:module_mmaps (Results 1 – 3 of 3) sorted by relevance

/system/extras/simpleperf/
Denvironment.cpp203 std::vector<KernelMmap> module_mmaps = GetLoadedModules(); in GetModulesInUse() local
208 for (auto& module : module_mmaps) { in GetModulesInUse()
214 return module_mmaps; in GetModulesInUse()
217 void GetKernelAndModuleMmaps(KernelMmap* kernel_mmap, std::vector<KernelMmap>* module_mmaps) { in GetKernelAndModuleMmaps() argument
221 *module_mmaps = GetModulesInUse(); in GetKernelAndModuleMmaps()
222 for (auto& map : *module_mmaps) { in GetKernelAndModuleMmaps()
228 if (module_mmaps->size() == 0) { in GetKernelAndModuleMmaps()
232 module_mmaps->begin(), module_mmaps->end(), in GetKernelAndModuleMmaps()
235 if (kernel_mmap->start_addr == (*module_mmaps)[0].start_addr) { in GetKernelAndModuleMmaps()
238 kernel_mmap->len = (*module_mmaps)[0].start_addr - kernel_mmap->start_addr - 1; in GetKernelAndModuleMmaps()
[all …]
Denvironment.h41 void GetKernelAndModuleMmaps(KernelMmap* kernel_mmap, std::vector<KernelMmap>* module_mmaps);
Dcmd_record.cpp534 std::vector<KernelMmap> module_mmaps; in DumpKernelAndModuleMmaps() local
535 GetKernelAndModuleMmaps(&kernel_mmap, &module_mmaps); in DumpKernelAndModuleMmaps()
544 for (auto& module_mmap : module_mmaps) { in DumpKernelAndModuleMmaps()