Searched refs:vmlinux_map (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/tools/perf/tests/ |
D | vmlinux-kallsyms.c | 20 struct map *kallsyms_map, *vmlinux_map, *map; in test__vmlinux_matches_kallsyms() local 83 vmlinux_map = machine__kernel_map(&vmlinux); in test__vmlinux_matches_kallsyms() 110 map__for_each_symbol(vmlinux_map, sym, nd) { in test__vmlinux_matches_kallsyms() 118 mem_start = vmlinux_map->unmap_ip(vmlinux_map, sym->start); in test__vmlinux_matches_kallsyms() 119 mem_end = vmlinux_map->unmap_ip(vmlinux_map, sym->end); in test__vmlinux_matches_kallsyms() 204 mem_start = vmlinux_map->unmap_ip(vmlinux_map, map->start); in test__vmlinux_matches_kallsyms() 205 mem_end = vmlinux_map->unmap_ip(vmlinux_map, map->end); in test__vmlinux_matches_kallsyms()
|
/Linux-v4.19/tools/perf/util/ |
D | machine.h | 52 struct map *vmlinux_map; member 74 return machine->vmlinux_map; in machine__kernel_map()
|
D | machine.c | 85 machine->vmlinux_map = NULL; in machine__init() 1025 machine->vmlinux_map = map__new2(0, kernel); in __machine__create_kernel_maps() 1026 if (machine->vmlinux_map == NULL) in __machine__create_kernel_maps() 1029 machine->vmlinux_map->map_ip = machine->vmlinux_map->unmap_ip = identity__map_ip; in __machine__create_kernel_maps() 1056 map__zput(machine->vmlinux_map); in machine__destroy_kernel_maps() 1351 machine->vmlinux_map->start = start; in machine__set_kernel_mmap() 1352 machine->vmlinux_map->end = end; in machine__set_kernel_mmap() 1358 machine->vmlinux_map->end = ~0ULL; in machine__set_kernel_mmap() 1387 map__set_kallsyms_ref_reloc_sym(machine->vmlinux_map, name, addr)) { in machine__create_kernel_maps() 1548 map__set_kallsyms_ref_reloc_sym(machine->vmlinux_map, in machine__process_kernel_mmap_event()
|