Home
last modified time | relevance | path

Searched refs:kmaps (Results 1 – 12 of 12) sorted by relevance

/Linux-v6.6/tools/perf/util/
Dsymbol.c791 static int maps__split_kallsyms_for_kcore(struct maps *kmaps, struct dso *dso) in maps__split_kallsyms_for_kcore() argument
800 if (!kmaps) in maps__split_kallsyms_for_kcore()
818 curr_map = maps__find(kmaps, pos->start); in maps__split_kallsyms_for_kcore()
845 static int maps__split_kallsyms(struct maps *kmaps, struct dso *dso, u64 delta, in maps__split_kallsyms() argument
857 if (!kmaps) in maps__split_kallsyms()
860 machine = maps__machine(kmaps); in maps__split_kallsyms()
893 curr_map = maps__find_by_name(kmaps, module); in maps__split_kallsyms()
961 if (maps__insert(kmaps, curr_map)) { in maps__split_kallsyms()
989 machine__is_default_guest(maps__machine(kmaps))) { in maps__split_kallsyms()
1151 static int do_validate_kcore_modules(const char *filename, struct maps *kmaps) in do_validate_kcore_modules() argument
[all …]
Dmachine.h56 struct maps *kmaps; member
94 return machine->kmaps; in machine__kernel_maps()
236 return maps__find_symbol(machine->kmaps, addr, mapp); in machine__find_kernel_symbol()
244 return maps__find_symbol_by_name(machine->kmaps, name, mapp); in machine__find_kernel_symbol_by_name()
Dmaps.h55 struct maps *kmaps; member
132 int maps__merge_in(struct maps *kmaps, struct map *new_map);
Dmap.c539 if (kmap && is_entry_trampoline(kmap->name) && kmap->kmaps) { in map__rip_2objdump()
540 struct machine *machine = maps__machine(kmap->kmaps); in map__rip_2objdump()
627 if (!kmap || !kmap->kmaps) { in map__kmaps()
631 return kmap->kmaps; in map__kmaps()
Dsymbol-elf.c1368 struct maps *kmaps, struct kmap *kmap, in dso__process_kernel_symbol() argument
1398 if (kmaps) { in dso__process_kernel_symbol()
1402 maps__remove(kmaps, map); in dso__process_kernel_symbol()
1403 err = maps__insert(kmaps, map); in dso__process_kernel_symbol()
1430 curr_map = maps__find_by_name(kmaps, dso_name); in dso__process_kernel_symbol()
1451 map__kmap(curr_map)->kmaps = kmaps; in dso__process_kernel_symbol()
1462 if (maps__insert(kmaps, curr_map)) in dso__process_kernel_symbol()
1469 dsos__add(&maps__machine(kmaps)->dsos, curr_dso); in dso__process_kernel_symbol()
1486 struct maps *kmaps = kmap ? map__kmaps(map) : NULL; in dso__load_sym_internal() local
1503 if (kmap && !kmaps) in dso__load_sym_internal()
[all …]
Dmachine.c117 machine->kmaps = maps__new(machine); in machine__init()
118 if (machine->kmaps == NULL) in machine__init()
160 zfree(&machine->kmaps); in machine__init()
250 maps__zput(machine->kmaps); in machine__exit()
1293 struct maps *kmaps = machine__kernel_maps(machine); in machine__map_x86_64_entry_trampolines() local
1303 maps__for_each_entry(kmaps, rb_node) { in machine__map_x86_64_entry_trampolines()
1310 dest_map = maps__find(kmaps, map__pgoff(map)); in machine__map_x86_64_entry_trampolines()
Dbpf_lock_contention.c288 map__load(maps__first(machine->kmaps)->map); in lock_contention_read()
Dmaps.c80 kmap->kmaps = maps; in maps__insert()
/Linux-v6.6/tools/perf/arch/x86/util/
Devent.c23 struct maps *kmaps = machine__kernel_maps(machine); in perf_event__synthesize_extra_kmaps() local
33 maps__for_each_entry(kmaps, pos) { in perf_event__synthesize_extra_kmaps()
/Linux-v6.6/tools/perf/tests/
Dvmlinux-kallsyms.c303 struct map *pair = maps__find_by_name(kallsyms.kmaps, (dso->kernel ? in test__vmlinux_matches_kallsyms()
325 pair = maps__find(kallsyms.kmaps, mem_start); in test__vmlinux_matches_kallsyms()
/Linux-v6.6/Documentation/translations/zh_CN/core-api/
Dcachetlb.rst169 kmaps失效之前被调用。
/Linux-v6.6/Documentation/core-api/
Dcachetlb.rst203 highmem. It will be called right before all of the kmaps