Searched refs:ref_reloc_sym (Results 1 – 10 of 10) sorted by relevance
12 struct ref_reloc_sym;43 struct ref_reloc_sym *ref_reloc_sym; member
848 return kmap && kmap->ref_reloc_sym && kmap->ref_reloc_sym->name && in ref_reloc_sym_not_found()849 !kmap->ref_reloc_sym->unrelocated_addr; in ref_reloc_sym_not_found()862 if (kmap && kmap->ref_reloc_sym && in ref_reloc()863 kmap->ref_reloc_sym->unrelocated_addr) in ref_reloc()864 return kmap->ref_reloc_sym->addr - in ref_reloc()865 kmap->ref_reloc_sym->unrelocated_addr; in ref_reloc()1068 if (strcmp(elf_name, kmap->ref_reloc_sym->name)) in dso__load_sym()1070 kmap->ref_reloc_sym->unrelocated_addr = sym.st_value; in dso__load_sym()1071 map->reloc = kmap->ref_reloc_sym->addr - in dso__load_sym()1072 kmap->ref_reloc_sym->unrelocated_addr; in dso__load_sym()
16 struct ref_reloc_sym;
1149 if (kmap->ref_reloc_sym && kmap->ref_reloc_sym->name) { in validate_kcore_addresses()1153 kmap->ref_reloc_sym->name, &start)) in validate_kcore_addresses()1155 if (start != kmap->ref_reloc_sym->addr) in validate_kcore_addresses()1422 if (!kmap->ref_reloc_sym || !kmap->ref_reloc_sym->name) in kallsyms__delta()1425 if (kallsyms__get_function_start(filename, kmap->ref_reloc_sym->name, &addr)) in kallsyms__delta()1428 *delta = addr - kmap->ref_reloc_sym->addr; in kallsyms__delta()
102 struct ref_reloc_sym { struct
105 static struct ref_reloc_sym *kernel_get_ref_reloc_sym(struct map **pmap) in kernel_get_ref_reloc_sym()121 return kmap->ref_reloc_sym; in kernel_get_ref_reloc_sym()127 struct ref_reloc_sym *reloc_sym; in kernel_get_symbol_address_by_name()754 struct ref_reloc_sym *reloc_sym; in post_process_kernel_probe_trace_events()2895 struct ref_reloc_sym *reloc_sym = NULL; in find_probe_trace_events_from_map()
827 if (!kmap->ref_reloc_sym) in __perf_event__synthesize_kernel_mmap()853 "%s%s", machine->mmap_name, kmap->ref_reloc_sym->name) + 1; in __perf_event__synthesize_kernel_mmap()858 event->mmap.pgoff = kmap->ref_reloc_sym->addr; in __perf_event__synthesize_kernel_mmap()
2250 struct ref_reloc_sym *ref; in map__set_kallsyms_ref_reloc_sym()2253 ref = zalloc(sizeof(struct ref_reloc_sym)); in map__set_kallsyms_ref_reloc_sym()2271 kmap->ref_reloc_sym = ref; in map__set_kallsyms_ref_reloc_sym()
1119 if (kmap && kmap->ref_reloc_sym) { in machine__destroy_kernel_maps()1120 zfree((char **)&kmap->ref_reloc_sym->name); in machine__destroy_kernel_maps()1121 zfree(&kmap->ref_reloc_sym); in machine__destroy_kernel_maps()
533 (kernel_kmap->ref_reloc_sym == NULL || in report__warn_kptr_restrict()534 kernel_kmap->ref_reloc_sym->addr == 0))) { in report__warn_kptr_restrict()