/linux/tools/perf/util/ |
H A D | maps.c | 80 assert(RC_CHK_EQUAL(map__kmap(map)->kmaps, maps)); in check_invariants() 490 kmap->kmaps = maps; in __maps__insert() 1183 int maps__merge_in(struct maps *kmaps, struct map *new_map) in maps__merge_in() argument 1192 down_read(maps__lock(kmaps)); in maps__merge_in() 1193 if (maps__maps_by_address_sorted(kmaps)) in maps__merge_in() 1196 up_read(maps__lock(kmaps)); in maps__merge_in() 1199 maps__sort_by_address(kmaps); in maps__merge_in() 1201 first_after_ = first_ending_after(kmaps, new_map); in maps__merge_in() 1202 kmaps_maps_by_address = maps__maps_by_address(kmaps); in maps__merge_in() 1204 if (first_after_ >= maps__nr_maps(kmaps) || in maps__merge_in() [all …]
|
H A D | symbol.c | 788 static int maps__split_kallsyms_for_kcore(struct maps *kmaps, struct dso *dso) in maps__split_kallsyms_for_kcore() argument 796 if (!kmaps) in maps__split_kallsyms_for_kcore() 815 curr_map = maps__find(kmaps, pos->start); in maps__split_kallsyms_for_kcore() 843 static int maps__split_kallsyms(struct maps *kmaps, struct dso *dso, u64 delta, in maps__split_kallsyms() argument 855 if (!kmaps) in maps__split_kallsyms() 858 machine = maps__machine(kmaps); in maps__split_kallsyms() 892 curr_map = maps__find_by_name(kmaps, module); in maps__split_kallsyms() 961 if (maps__insert(kmaps, curr_map)) { in maps__split_kallsyms() 990 machine__is_default_guest(maps__machine(kmaps))) { in maps__split_kallsyms() 1170 static int do_validate_kcore_modules(const char *filename, struct maps *kmaps) in do_validate_kcore_modules() argument [all …]
|
H A D | maps.h | 19 struct maps *kmaps; member 75 int maps__merge_in(struct maps *kmaps, struct map *new_map);
|
H A D | machine.h | 46 struct maps *kmaps; member 78 return machine->kmaps; in machine__kernel_maps() 239 return maps__find_symbol(machine->kmaps, addr, mapp); in machine__find_kernel_symbol() 247 return maps__find_symbol_by_name(machine->kmaps, name, mapp); in machine__find_kernel_symbol_by_name()
|
H A D | map.c | 538 if (kmap && is_entry_trampoline(kmap->name) && kmap->kmaps) { in map__rip_2objdump() 539 struct machine *machine = maps__machine(kmap->kmaps); in map__rip_2objdump() 635 if (!kmap || !kmap->kmaps) { in map__kmaps() 639 return kmap->kmaps; in map__kmaps()
|
H A D | symbol-elf.c | 1421 struct maps *kmaps, struct kmap *kmap, in dso__process_kernel_symbol() argument 1451 if (kmaps) { in dso__process_kernel_symbol() 1455 maps__remove(kmaps, map); in dso__process_kernel_symbol() 1456 err = maps__insert(kmaps, map); in dso__process_kernel_symbol() 1494 curr_map = maps__find_by_name(kmaps, dso_name); in dso__process_kernel_symbol() 1515 map__kmap(curr_map)->kmaps = kmaps; in dso__process_kernel_symbol() 1525 if (maps__insert(kmaps, curr_map)) in dso__process_kernel_symbol() 1527 dsos__add(&maps__machine(kmaps)->dsos, curr_dso); in dso__process_kernel_symbol() 1545 struct maps *kmaps in dso__process_kernel_symbol() 1551 struct maps *kmaps = kmap ? map__kmaps(map) : NULL; dso__load_sym_internal() local [all...] |
H A D | machine.c | 78 machine->kmaps = maps__new(machine); in machine__init() 79 if (machine->kmaps == NULL) in machine__init() 121 zfree(&machine->kmaps); in machine__init() 175 maps__zput(machine->kmaps); in machine__exit() 1076 struct maps *kmaps; 1089 dest_map = maps__find(args->kmaps, map__pgoff(map)); in machine__map_x86_64_entry_trampolines_cb() 1103 .kmaps = machine__kernel_maps(machine), in machine__map_x86_64_entry_trampolines() 1113 maps__for_each_map(args.kmaps, machine__map_x86_64_entry_trampolines_cb, &args); in machine__map_x86_64_entry_trampolines() 1542 * we have a real start address now, so re-order the kmaps in machine__create_kernel_maps() 1543 * assume it's the last in the kmaps in machine__create_kernel_maps() 1074 struct maps *kmaps; global() member [all...] |
H A D | bpf_lock_contention.c | 447 maps__load_first(machine->kmaps); in lock_contention_read()
|
/linux/tools/perf/arch/x86/util/ |
H A D | event.c | 73 struct maps *kmaps = machine__kernel_maps(machine); in perf_event__synthesize_extra_kmaps() local 87 rc = maps__for_each_map(kmaps, perf_event__synthesize_extra_kmaps_cb, &args); in perf_event__synthesize_extra_kmaps()
|
/linux/tools/perf/tests/ |
H A D | vmlinux-kallsyms.c | 130 struct map *pair = maps__find_by_name(args->kallsyms.kmaps, in test__vmlinux_matches_kallsyms_cb1() 153 pair = maps__find(args->kallsyms.kmaps, mem_start); in test__vmlinux_matches_kallsyms_cb2()
|
/linux/tools/perf/Documentation/ |
H A D | perf.txt | 66 kmaps - Print kernel and module maps (perf script
|
/linux/Documentation/core-api/ |
H A D | cachetlb.rst | 203 highmem. It will be called right before all of the kmaps
|