Searched refs:ref_reloc_sym (Results 1 – 7 of 7) sorted by relevance
29 struct ref_reloc_sym ref_reloc_sym = { .name = "_stext", }; in test__vmlinux_matches_kallsyms() local73 sym = map__find_symbol_by_name(kallsyms_map, ref_reloc_sym.name, NULL); in test__vmlinux_matches_kallsyms()79 ref_reloc_sym.addr = UM(sym->start); in test__vmlinux_matches_kallsyms()92 map__kmap(vmlinux_map)->ref_reloc_sym = &ref_reloc_sym; in test__vmlinux_matches_kallsyms()
655 return kmap && kmap->ref_reloc_sym && kmap->ref_reloc_sym->name && in ref_reloc_sym_not_found()656 !kmap->ref_reloc_sym->unrelocated_addr; in ref_reloc_sym_not_found()669 if (kmap && kmap->ref_reloc_sym && in ref_reloc()670 kmap->ref_reloc_sym->unrelocated_addr) in ref_reloc()671 return kmap->ref_reloc_sym->addr - in ref_reloc()672 kmap->ref_reloc_sym->unrelocated_addr; in ref_reloc()751 if (strcmp(elf_name, kmap->ref_reloc_sym->name)) in dso__load_sym()753 kmap->ref_reloc_sym->unrelocated_addr = sym.st_value; in dso__load_sym()
22 struct ref_reloc_sym;53 struct ref_reloc_sym *ref_reloc_sym; member
544 if (kmap->ref_reloc_sym) { in machine__destroy_kernel_maps()550 free((char *)kmap->ref_reloc_sym->name); in machine__destroy_kernel_maps()551 kmap->ref_reloc_sym->name = NULL; in machine__destroy_kernel_maps()552 free(kmap->ref_reloc_sym); in machine__destroy_kernel_maps()554 kmap->ref_reloc_sym = NULL; in machine__destroy_kernel_maps()
133 struct ref_reloc_sym { struct
1438 struct ref_reloc_sym *ref; in maps__set_kallsyms_ref_reloc_sym()1440 ref = zalloc(sizeof(struct ref_reloc_sym)); in maps__set_kallsyms_ref_reloc_sym()1458 kmap->ref_reloc_sym = ref; in maps__set_kallsyms_ref_reloc_sym()
517 (kernel_kmap->ref_reloc_sym == NULL || in __cmd_report()518 kernel_kmap->ref_reloc_sym->addr == 0))) { in __cmd_report()