Home
last modified time | relevance | path

Searched refs:ref_reloc_sym (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.15/tools/perf/util/
Dmaps.h12 struct ref_reloc_sym;
46 struct ref_reloc_sym *ref_reloc_sym; member
Dsymbol-elf.c946 return kmap && kmap->ref_reloc_sym && kmap->ref_reloc_sym->name && in ref_reloc_sym_not_found()
947 !kmap->ref_reloc_sym->unrelocated_addr; in ref_reloc_sym_not_found()
960 if (kmap && kmap->ref_reloc_sym && in ref_reloc()
961 kmap->ref_reloc_sym->unrelocated_addr) in ref_reloc()
962 return kmap->ref_reloc_sym->addr - in ref_reloc()
963 kmap->ref_reloc_sym->unrelocated_addr; in ref_reloc()
1159 if (strcmp(elf_name, kmap->ref_reloc_sym->name)) in dso__load_sym_internal()
1161 kmap->ref_reloc_sym->unrelocated_addr = sym.st_value; in dso__load_sym_internal()
1162 map->reloc = kmap->ref_reloc_sym->addr - in dso__load_sym_internal()
1163 kmap->ref_reloc_sym->unrelocated_addr; in dso__load_sym_internal()
Dsymbol.c1164 if (kmap->ref_reloc_sym && kmap->ref_reloc_sym->name) { in validate_kcore_addresses()
1168 kmap->ref_reloc_sym->name, &start)) in validate_kcore_addresses()
1170 if (start != kmap->ref_reloc_sym->addr) in validate_kcore_addresses()
1431 if (!kmap->ref_reloc_sym || !kmap->ref_reloc_sym->name) in kallsyms__delta()
1434 if (kallsyms__get_function_start(filename, kmap->ref_reloc_sym->name, &addr)) in kallsyms__delta()
1437 *delta = addr - kmap->ref_reloc_sym->addr; in kallsyms__delta()
Dsymbol.h104 struct ref_reloc_sym { struct
Dsynthetic-events.c1074 if (!kmap->ref_reloc_sym) in __perf_event__synthesize_kernel_mmap()
1101 "%s%s", machine->mmap_name, kmap->ref_reloc_sym->name) + 1; in __perf_event__synthesize_kernel_mmap()
1106 event->mmap2.pgoff = kmap->ref_reloc_sym->addr; in __perf_event__synthesize_kernel_mmap()
1114 "%s%s", machine->mmap_name, kmap->ref_reloc_sym->name) + 1; in __perf_event__synthesize_kernel_mmap()
1119 event->mmap.pgoff = kmap->ref_reloc_sym->addr; in __perf_event__synthesize_kernel_mmap()
Dprobe-event.c109 static struct ref_reloc_sym *kernel_get_ref_reloc_sym(struct map **pmap) in kernel_get_ref_reloc_sym()
124 return kmap->ref_reloc_sym; in kernel_get_ref_reloc_sym()
130 struct ref_reloc_sym *reloc_sym; in kernel_get_symbol_address_by_name()
814 struct ref_reloc_sym *reloc_sym; in post_process_kernel_probe_trace_events()
3013 struct ref_reloc_sym *reloc_sym = NULL; in find_probe_trace_events_from_map()
Dsession.c2361 struct ref_reloc_sym *ref; in map__set_kallsyms_ref_reloc_sym()
2364 ref = zalloc(sizeof(struct ref_reloc_sym)); in map__set_kallsyms_ref_reloc_sym()
2382 kmap->ref_reloc_sym = ref; in map__set_kallsyms_ref_reloc_sym()
Dmachine.c1222 if (kmap && kmap->ref_reloc_sym) { in machine__destroy_kernel_maps()
1223 zfree((char **)&kmap->ref_reloc_sym->name); in machine__destroy_kernel_maps()
1224 zfree(&kmap->ref_reloc_sym); in machine__destroy_kernel_maps()
/Linux-v5.15/tools/perf/
Dbuiltin-report.c583 (kernel_kmap->ref_reloc_sym == NULL || in report__warn_kptr_restrict()
584 kernel_kmap->ref_reloc_sym->addr == 0))) { in report__warn_kptr_restrict()