Searched refs:ref_reloc_sym (Results 1 – 9 of 9) sorted by relevance
10 struct ref_reloc_sym;18 struct ref_reloc_sym *ref_reloc_sym; member
1395 return kmap && kmap->ref_reloc_sym && kmap->ref_reloc_sym->name && in ref_reloc_sym_not_found() 1396 !kmap->ref_reloc_sym->unrelocated_addr; in ref_reloc_sym_not_found() 1409 if (kmap && kmap->ref_reloc_sym && in ref_reloc() 1410 kmap->ref_reloc_sym->unrelocated_addr) in ref_reloc() 1411 return kmap->ref_reloc_sym->addr - in ref_reloc() 1412 kmap->ref_reloc_sym->unrelocated_addr; in ref_reloc() 1623 if (strcmp(elf_name, kmap->ref_reloc_sym->name)) in dso__load_sym_internal() 1625 kmap->ref_reloc_sym->unrelocated_addr = sym.st_value; in dso__load_sym_internal() 1626 map__set_reloc(map, kmap->ref_reloc_sym in dso__load_sym_internal() [all...]
1237 if (kmap->ref_reloc_sym && kmap->ref_reloc_sym->name) { in validate_kcore_addresses()1241 kmap->ref_reloc_sym->name, &start)) in validate_kcore_addresses()1243 if (start != kmap->ref_reloc_sym->addr) in validate_kcore_addresses()1464 if (!kmap->ref_reloc_sym || !kmap->ref_reloc_sym->name) in kallsyms__delta()1467 if (kallsyms__get_function_start(filename, kmap->ref_reloc_sym->name, &addr)) in kallsyms__delta()1470 *delta = addr - kmap->ref_reloc_sym->addr; in kallsyms__delta()
112 struct ref_reloc_sym { struct 113 nameref_reloc_sym global() argument 114 addrref_reloc_sym global() argument 115 unrelocated_addrref_reloc_sym global() argument
1129 if (!kmap->ref_reloc_sym) in __perf_event__synthesize_kernel_mmap()1156 "%s%s", machine->mmap_name, kmap->ref_reloc_sym->name) + 1; in __perf_event__synthesize_kernel_mmap()1161 event->mmap2.pgoff = kmap->ref_reloc_sym->addr; in __perf_event__synthesize_kernel_mmap()1169 "%s%s", machine->mmap_name, kmap->ref_reloc_sym->name) + 1; in __perf_event__synthesize_kernel_mmap()1174 event->mmap.pgoff = kmap->ref_reloc_sym->addr; in __perf_event__synthesize_kernel_mmap()
116 static struct ref_reloc_sym *kernel_get_ref_reloc_sym(struct map **pmap) in kernel_get_ref_reloc_sym()131 return kmap->ref_reloc_sym; in kernel_get_ref_reloc_sym()137 struct ref_reloc_sym *reloc_sym; in kernel_get_symbol_address_by_name()843 struct ref_reloc_sym *reloc_sym; in post_process_kernel_probe_trace_events()3097 struct ref_reloc_sym *reloc_sym = NULL; in find_probe_trace_events_from_map()
2408 struct ref_reloc_sym *ref; in map__set_kallsyms_ref_reloc_sym() 2411 ref = zalloc(sizeof(struct ref_reloc_sym)); in map__set_kallsyms_ref_reloc_sym() 2429 kmap->ref_reloc_sym = ref; in perf_session__fprintf_dsos_buildid()
1177 if (kmap && kmap->ref_reloc_sym) { in machine__destroy_kernel_maps()1178 zfree((char **)&kmap->ref_reloc_sym->name); in machine__destroy_kernel_maps()1179 zfree(&kmap->ref_reloc_sym); in machine__destroy_kernel_maps()
622 (kernel_kmap->ref_reloc_sym == NULL || in report__warn_kptr_restrict() 623 kernel_kmap->ref_reloc_sym->addr == 0))) { in report__warn_kptr_restrict()