Searched refs:kmaps (Results 1 – 10 of 10) sorted by relevance
/tools/perf/tests/ |
D | vmlinux-kallsyms.c | 29 struct maps *maps = &vmlinux.kmaps.maps[type]; in test__vmlinux_matches_kallsyms() 196 pair = map_groups__find_by_name(&kallsyms.kmaps, type, in test__vmlinux_matches_kallsyms() 214 pair = map_groups__find(&kallsyms.kmaps, type, mem_start); in test__vmlinux_matches_kallsyms() 232 maps = &kallsyms.kmaps.maps[type]; in test__vmlinux_matches_kallsyms()
|
/tools/perf/util/ |
D | symbol.c | 658 struct map_groups *kmaps = map__kmaps(map); in dso__split_kallsyms_for_kcore() local 666 if (!kmaps) in dso__split_kallsyms_for_kcore() 683 curr_map = map_groups__find(kmaps, map->type, pos->start); in dso__split_kallsyms_for_kcore() 711 struct map_groups *kmaps = map__kmaps(map); in dso__split_kallsyms() local 720 if (!kmaps) in dso__split_kallsyms() 723 machine = kmaps->machine; in dso__split_kallsyms() 753 curr_map = map_groups__find_by_name(kmaps, in dso__split_kallsyms() 811 map_groups__insert(kmaps, curr_map); in dso__split_kallsyms() 834 machine__is_default_guest(kmaps->machine)) { in dso__split_kallsyms() 996 struct map_groups *kmaps) in do_validate_kcore_modules() argument [all …]
|
D | machine.h | 39 struct map_groups kmaps; member 178 return map_groups__find_symbol(&machine->kmaps, type, addr, in machine__find_kernel_symbol() 197 return map_groups__find_function_by_name(&machine->kmaps, name, mapp, in machine__find_kernel_function_by_name()
|
D | event.c | 358 struct map_groups *kmaps = &machine->kmaps; in perf_event__synthesize_modules() local 359 struct maps *maps = &kmaps->maps[MAP__FUNCTION]; in perf_event__synthesize_modules() 919 mg = &machine->kmaps; in thread__find_addr_map() 925 mg = &machine->kmaps; in thread__find_addr_map() 957 mg != &machine->kmaps && in thread__find_addr_map() 959 mg = &machine->kmaps; in thread__find_addr_map()
|
D | machine.c | 28 map_groups__init(&machine->kmaps, machine); in machine__init() 125 map_groups__exit(&machine->kmaps); in machine__exit() 573 map = map_groups__find_by_name(&machine->kmaps, MAP__FUNCTION, in machine__findnew_module_map() 586 map_groups__insert(&machine->kmaps, map); in machine__findnew_module_map() 759 kmap->kmaps = &machine->kmaps; in __machine__create_kernel_maps() 760 map_groups__insert(&machine->kmaps, map); in __machine__create_kernel_maps() 778 map_groups__remove(&machine->kmaps, map); in machine__destroy_kernel_maps() 882 __map_groups__fixup_end(&machine->kmaps, type); in machine__load_kallsyms() 1039 return map_groups__set_modules_path_dir(&machine->kmaps, modules_path, 0); in machine__set_modules_path() 1106 map_groups__fixup_end(&machine->kmaps); in machine__create_kernel_maps() [all …]
|
D | symbol-elf.c | 799 struct map_groups *kmaps = kmap ? map__kmaps(map) : NULL; in dso__load_sym() local 815 if (kmap && !kmaps) in dso__load_sym() 998 if (kmaps) { in dso__load_sym() 1000 map_groups__remove(kmaps, map); in dso__load_sym() 1001 map_groups__insert(kmaps, map); in dso__load_sym() 1027 curr_map = map_groups__find_by_name(kmaps, map->type, dso_name); in dso__load_sym() 1057 map_groups__insert(kmaps, curr_map); in dso__load_sym() 1114 __map_groups__fixup_end(kmaps, map->type); in dso__load_sym()
|
D | map.h | 59 struct map_groups *kmaps; member
|
D | map.c | 852 if (!kmap || !kmap->kmaps) { in map__kmaps() 856 return kmap->kmaps; in map__kmaps()
|
D | callchain.c | 748 if (al->map->groups == &al->machine->kmaps) { in fill_callchain_info()
|
D | probe-event.c | 168 struct map_groups *grp = &host_machine->kmaps; in kernel_get_module_map() 285 map = map_groups__find_by_name(&host_machine->kmaps, MAP__FUNCTION, module_name); in kernel_get_module_dso()
|