Searched refs:kmaps (Results 1 – 8 of 8) sorted by relevance
/external/linux-tools-perf/src/tools/perf/tests/ |
D | vmlinux-kallsyms.c | 197 for (nd = rb_first(&vmlinux.kmaps.maps[type]); nd; nd = rb_next(nd)) { in test__vmlinux_matches_kallsyms() 205 pair = map_groups__find_by_name(&kallsyms.kmaps, type, in test__vmlinux_matches_kallsyms() 217 for (nd = rb_first(&vmlinux.kmaps.maps[type]); nd; nd = rb_next(nd)) { in test__vmlinux_matches_kallsyms() 223 pair = map_groups__find(&kallsyms.kmaps, type, mem_start); in test__vmlinux_matches_kallsyms() 241 for (nd = rb_first(&kallsyms.kmaps.maps[type]); in test__vmlinux_matches_kallsyms()
|
/external/linux-tools-perf/src/tools/perf/util/ |
D | symbol.c | 557 struct map_groups *kmaps = map__kmap(map)->kmaps; in dso__split_kallsyms_for_kcore() local 574 curr_map = map_groups__find(kmaps, map->type, pos->start); in dso__split_kallsyms_for_kcore() 609 struct map_groups *kmaps = map__kmap(map)->kmaps; in dso__split_kallsyms() local 610 struct machine *machine = kmaps->machine; in dso__split_kallsyms() 646 curr_map = map_groups__find_by_name(kmaps, in dso__split_kallsyms() 698 map_groups__insert(kmaps, curr_map); in dso__split_kallsyms() 717 machine__is_default_guest(kmaps->machine)) { in dso__split_kallsyms() 790 struct map_groups *kmaps = map__kmap(map)->kmaps; in dso__load_kcore() local 791 struct machine *machine = kmaps->machine; in dso__load_kcore() 827 old_map = map_groups__first(kmaps, map->type); in dso__load_kcore() [all …]
|
D | machine.h | 30 struct map_groups kmaps; member 121 return map_groups__find_symbol(&machine->kmaps, type, addr, in machine__find_kernel_symbol() 140 return map_groups__find_function_by_name(&machine->kmaps, name, mapp, in machine__find_kernel_function_by_name()
|
D | event.c | 254 struct map_groups *kmaps = &machine->kmaps; in perf_event__synthesize_modules() local 274 for (nd = rb_first(&kmaps->maps[MAP__FUNCTION]); in perf_event__synthesize_modules() 642 mg = &machine->kmaps; in thread__find_addr_map() 648 mg = &machine->kmaps; in thread__find_addr_map() 686 machine && mg != &machine->kmaps) { in thread__find_addr_map() 687 mg = &machine->kmaps; in thread__find_addr_map()
|
D | machine.c | 16 map_groups__init(&machine->kmaps); in machine__init() 25 machine->kmaps.machine = machine; in machine__init() 84 map_groups__exit(&machine->kmaps); in machine__exit() 359 map_groups__insert(&machine->kmaps, map); in machine__new_module() 523 kmap->kmaps = &machine->kmaps; in __machine__create_kernel_maps() 524 map_groups__insert(&machine->kmaps, in __machine__create_kernel_maps() 542 map_groups__remove(&machine->kmaps, in machine__destroy_kernel_maps() 649 __map_groups__fixup_end(&machine->kmaps, type); in machine__load_kallsyms() 776 return map_groups__set_modules_path_dir(&machine->kmaps, modules_path); in machine__set_modules_path() 870 map_groups__fixup_end(&machine->kmaps); in machine__create_kernel_maps()
|
D | symbol-elf.c | 853 map_groups__remove(kmap->kmaps, map); in dso__load_sym() 854 map_groups__insert(kmap->kmaps, map); in dso__load_sym() 878 curr_map = map_groups__find_by_name(kmap->kmaps, map->type, dso_name); in dso__load_sym() 908 map_groups__insert(kmap->kmaps, curr_map); in dso__load_sym() 962 __map_groups__fixup_end(kmap->kmaps, map->type); in dso__load_sym()
|
D | map.h | 54 struct map_groups *kmaps; member
|
D | probe-event.c | 118 struct map_groups *grp = &machine.kmaps; in kernel_get_module_map()
|