Searched refs:ref_reloc_sym (Results 1 – 9 of 9) sorted by relevance
12 struct ref_reloc_sym;46 struct ref_reloc_sym *ref_reloc_sym; member
973 return kmap && kmap->ref_reloc_sym && kmap->ref_reloc_sym->name && in ref_reloc_sym_not_found()974 !kmap->ref_reloc_sym->unrelocated_addr; in ref_reloc_sym_not_found()987 if (kmap && kmap->ref_reloc_sym && in ref_reloc()988 kmap->ref_reloc_sym->unrelocated_addr) in ref_reloc()989 return kmap->ref_reloc_sym->addr - in ref_reloc()990 kmap->ref_reloc_sym->unrelocated_addr; in ref_reloc()1186 if (strcmp(elf_name, kmap->ref_reloc_sym->name)) in dso__load_sym_internal()1188 kmap->ref_reloc_sym->unrelocated_addr = sym.st_value; in dso__load_sym_internal()1189 map->reloc = kmap->ref_reloc_sym->addr - in dso__load_sym_internal()1190 kmap->ref_reloc_sym->unrelocated_addr; in dso__load_sym_internal()
1192 if (kmap->ref_reloc_sym && kmap->ref_reloc_sym->name) { in validate_kcore_addresses()1196 kmap->ref_reloc_sym->name, &start)) in validate_kcore_addresses()1198 if (start != kmap->ref_reloc_sym->addr) in validate_kcore_addresses()1459 if (!kmap->ref_reloc_sym || !kmap->ref_reloc_sym->name) in kallsyms__delta()1462 if (kallsyms__get_function_start(filename, kmap->ref_reloc_sym->name, &addr)) in kallsyms__delta()1465 *delta = addr - kmap->ref_reloc_sym->addr; in kallsyms__delta()
115 struct ref_reloc_sym { struct
1111 if (!kmap->ref_reloc_sym) in __perf_event__synthesize_kernel_mmap()1138 "%s%s", machine->mmap_name, kmap->ref_reloc_sym->name) + 1; in __perf_event__synthesize_kernel_mmap()1143 event->mmap2.pgoff = kmap->ref_reloc_sym->addr; in __perf_event__synthesize_kernel_mmap()1151 "%s%s", machine->mmap_name, kmap->ref_reloc_sym->name) + 1; in __perf_event__synthesize_kernel_mmap()1156 event->mmap.pgoff = kmap->ref_reloc_sym->addr; in __perf_event__synthesize_kernel_mmap()
110 static struct ref_reloc_sym *kernel_get_ref_reloc_sym(struct map **pmap) in kernel_get_ref_reloc_sym()125 return kmap->ref_reloc_sym; in kernel_get_ref_reloc_sym()131 struct ref_reloc_sym *reloc_sym; in kernel_get_symbol_address_by_name()817 struct ref_reloc_sym *reloc_sym; in post_process_kernel_probe_trace_events()3018 struct ref_reloc_sym *reloc_sym = NULL; in find_probe_trace_events_from_map()
1328 if (kmap && kmap->ref_reloc_sym) { in machine__destroy_kernel_maps()1329 zfree((char **)&kmap->ref_reloc_sym->name); in machine__destroy_kernel_maps()1330 zfree(&kmap->ref_reloc_sym); in machine__destroy_kernel_maps()
2642 struct ref_reloc_sym *ref; in map__set_kallsyms_ref_reloc_sym()2645 ref = zalloc(sizeof(struct ref_reloc_sym)); in map__set_kallsyms_ref_reloc_sym()2663 kmap->ref_reloc_sym = ref; in map__set_kallsyms_ref_reloc_sym()
603 (kernel_kmap->ref_reloc_sym == NULL || in report__warn_kptr_restrict()604 kernel_kmap->ref_reloc_sym->addr == 0))) { in report__warn_kptr_restrict()