Searched refs:kmaps (Results 1 – 12 of 12) sorted by relevance
/tools/perf/arch/x86/util/ |
D | event.c | 21 struct map_groups *kmaps = &machine->kmaps; in perf_event__synthesize_extra_kmaps() local 22 struct maps *maps = &kmaps->maps; in perf_event__synthesize_extra_kmaps()
|
/tools/perf/util/ |
D | symbol.c | 706 static int map_groups__split_kallsyms_for_kcore(struct map_groups *kmaps, struct dso *dso) in map_groups__split_kallsyms_for_kcore() argument 715 if (!kmaps) in map_groups__split_kallsyms_for_kcore() 732 curr_map = map_groups__find(kmaps, pos->start); in map_groups__split_kallsyms_for_kcore() 759 static int map_groups__split_kallsyms(struct map_groups *kmaps, struct dso *dso, u64 delta, in map_groups__split_kallsyms() argument 771 if (!kmaps) in map_groups__split_kallsyms() 774 machine = kmaps->machine; in map_groups__split_kallsyms() 805 curr_map = map_groups__find_by_name(kmaps, module); in map_groups__split_kallsyms() 872 map_groups__insert(kmaps, curr_map); in map_groups__split_kallsyms() 895 machine__is_default_guest(kmaps->machine)) { in map_groups__split_kallsyms() 1063 struct map_groups *kmaps) in do_validate_kcore_modules() argument [all …]
|
D | map_groups.h | 44 struct map_groups *kmaps; member 95 int map_groups__merge_in(struct map_groups *kmaps, struct map *new_map);
|
D | machine.h | 53 struct map_groups kmaps; member 85 return &machine->kmaps.maps; in machine__kernel_maps() 213 return map_groups__find_symbol(&machine->kmaps, addr, mapp); in machine__find_kernel_symbol() 221 return map_groups__find_symbol_by_name(&machine->kmaps, name, mapp); in machine__find_kernel_symbol_by_name()
|
D | machine.c | 84 map_groups__init(&machine->kmaps, machine); in machine__init() 215 map_groups__exit(&machine->kmaps); in machine__exit() 724 map = map_groups__find(&machine->kmaps, event->ksymbol.addr); in machine__process_ksymbol_register() 732 map_groups__insert(&machine->kmaps, map); in machine__process_ksymbol_register() 750 map = map_groups__find(&machine->kmaps, event->ksymbol.addr); in machine__process_ksymbol_unregister() 752 map_groups__remove(&machine->kmaps, map); in machine__process_ksymbol_unregister() 780 map = map_groups__find_by_name(&machine->kmaps, m.name); in machine__findnew_module_map() 792 map_groups__insert(&machine->kmaps, map); in machine__findnew_module_map() 976 kmap->kmaps = &machine->kmaps; in machine__create_extra_kernel_map() 979 map_groups__insert(&machine->kmaps, map); in machine__create_extra_kernel_map() [all …]
|
D | map.c | 521 if (kmap && is_entry_trampoline(kmap->name) && kmap->kmaps && kmap->kmaps->machine) { in map__rip_2objdump() 522 struct map *kernel_map = machine__kernel_map(kmap->kmaps->machine); in map__rip_2objdump() 1038 if (!kmap || !kmap->kmaps) { in map__kmaps() 1042 return kmap->kmaps; in map__kmaps()
|
D | symbol-elf.c | 874 struct map_groups *kmaps, struct kmap *kmap, in dso__process_kernel_symbol() argument 904 if (kmaps) { in dso__process_kernel_symbol() 906 map_groups__remove(kmaps, map); in dso__process_kernel_symbol() 907 map_groups__insert(kmaps, map); in dso__process_kernel_symbol() 932 curr_map = map_groups__find_by_name(kmaps, dso_name); in dso__process_kernel_symbol() 958 map_groups__insert(kmaps, curr_map); in dso__process_kernel_symbol() 980 struct map_groups *kmaps = kmap ? map__kmaps(map) : NULL; in dso__load_sym() local 997 if (kmap && !kmaps) in dso__load_sym() 1153 if (dso__process_kernel_symbol(dso, map, &sym, &shdr, kmaps, kmap, &curr_dso, &curr_map, in dso__load_sym() 1215 map_groups__fixup_end(kmaps); in dso__load_sym()
|
D | event.c | 477 mg = &machine->kmaps; in thread__find_map() 483 mg = &machine->kmaps; in thread__find_map()
|
D | bpf-event.c | 57 map = map_groups__find(&machine->kmaps, addr); in machine__process_bpf_event_load()
|
D | callchain.c | 1122 if (al->map->groups == &al->machine->kmaps) { in fill_callchain_info()
|
D | probe-event.c | 331 map = map_groups__find_by_name(&host_machine->kmaps, module_name); in kernel_get_module_dso()
|
/tools/perf/tests/ |
D | vmlinux-kallsyms.c | 193 pair = map_groups__find_by_name(&kallsyms.kmaps, in test__vmlinux_matches_kallsyms() 216 pair = map_groups__find(&kallsyms.kmaps, mem_start); in test__vmlinux_matches_kallsyms()
|