Home
last modified time | relevance | path

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

/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()
/tools/perf/util/
Dsymbol.c758 static int maps__split_kallsyms_for_kcore(struct maps *kmaps, struct dso *dso) in maps__split_kallsyms_for_kcore() argument
767 if (!kmaps) in maps__split_kallsyms_for_kcore()
785 curr_map = maps__find(kmaps, pos->start); in maps__split_kallsyms_for_kcore()
812 static int maps__split_kallsyms(struct maps *kmaps, struct dso *dso, u64 delta, in maps__split_kallsyms() argument
824 if (!kmaps) in maps__split_kallsyms()
827 machine = maps__machine(kmaps); in maps__split_kallsyms()
860 curr_map = maps__find_by_name(kmaps, module); in maps__split_kallsyms()
928 if (maps__insert(kmaps, curr_map)) { in maps__split_kallsyms()
956 machine__is_default_guest(maps__machine(kmaps))) { in maps__split_kallsyms()
1118 static int do_validate_kcore_modules(const char *filename, struct maps *kmaps) in do_validate_kcore_modules() argument
[all …]
Dmaps.h65 struct maps *kmaps; member
142 int maps__merge_in(struct maps *kmaps, struct map *new_map);
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.c80 kmap->kmaps = maps; in maps__insert()
624 int maps__merge_in(struct maps *kmaps, struct map *new_map) in maps__merge_in() argument
630 maps__for_each_entry(kmaps, rb_node) { in maps__merge_in()
704 err = maps__insert(kmaps, old_node->map); in maps__merge_in()
711 err = maps__insert(kmaps, new_map); in maps__merge_in()
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 …]
Dbpf_lock_contention.c288 map__load(maps__first(machine->kmaps)->map); in lock_contention_read()
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()
/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()