Searched refs:kernel_mmap (Results 1 – 4 of 4) sorted by relevance
/system/extras/simpleperf/ |
D | environment_test.cpp | 119 KernelMmap kernel_mmap; in TEST() local 121 GetKernelAndModuleMmaps(&kernel_mmap, &module_mmaps); in TEST() 123 ASSERT_EQ(kernel_mmap.name, std::string(DEFAULT_KERNEL_MMAP_NAME) + "_stext"); in TEST() 124 ASSERT_GT(kernel_mmap.start_addr, 0); in TEST()
|
D | MapRecordReader.cpp | 32 KernelMmap kernel_mmap; in ReadKernelMaps() local 34 GetKernelAndModuleMmaps(&kernel_mmap, &module_mmaps); in ReadKernelMaps() 36 MmapRecord mmap_record(attr_, true, UINT_MAX, 0, kernel_mmap.start_addr, kernel_mmap.len, 0, in ReadKernelMaps() 37 kernel_mmap.filepath, event_id_); in ReadKernelMaps()
|
D | environment.cpp | 119 void GetKernelAndModuleMmaps(KernelMmap* kernel_mmap, std::vector<KernelMmap>* module_mmaps) { in GetKernelAndModuleMmaps() argument 120 kernel_mmap->name = DEFAULT_KERNEL_MMAP_NAME; in GetKernelAndModuleMmaps() 121 kernel_mmap->start_addr = 0; in GetKernelAndModuleMmaps() 122 kernel_mmap->len = std::numeric_limits<uint64_t>::max(); in GetKernelAndModuleMmaps() 124 kernel_mmap->name = std::string(DEFAULT_KERNEL_MMAP_NAME) + "_stext"; in GetKernelAndModuleMmaps() 125 kernel_mmap->start_addr = kstart_addr; in GetKernelAndModuleMmaps() 126 kernel_mmap->len = std::numeric_limits<uint64_t>::max() - kstart_addr; in GetKernelAndModuleMmaps() 128 kernel_mmap->filepath = kernel_mmap->name; in GetKernelAndModuleMmaps()
|
D | environment.h | 52 void GetKernelAndModuleMmaps(KernelMmap* kernel_mmap, std::vector<KernelMmap>* module_mmaps);
|