Searched refs:ref_reloc_sym (Results 1 – 7 of 7) sorted by relevance
33 struct ref_reloc_sym ref_reloc_sym = { .name = "_stext", }; in test__vmlinux_matches_kallsyms() local76 sym = map__find_symbol_by_name(kallsyms_map, ref_reloc_sym.name, NULL); in test__vmlinux_matches_kallsyms()82 ref_reloc_sym.addr = sym->start; in test__vmlinux_matches_kallsyms()95 map__kmap(vmlinux_map)->ref_reloc_sym = &ref_reloc_sym; in test__vmlinux_matches_kallsyms()
288 (kernel_kmap->ref_reloc_sym == NULL || in __cmd_report()289 kernel_kmap->ref_reloc_sym->addr == 0))) { in __cmd_report()
29 struct ref_reloc_sym;55 struct ref_reloc_sym *ref_reloc_sym; member
487 if (!kmap->ref_reloc_sym || !kmap->ref_reloc_sym->unrelocated_addr) in map__reloc_vmlinux()490 reloc = (kmap->ref_reloc_sym->unrelocated_addr - in map__reloc_vmlinux()491 kmap->ref_reloc_sym->addr); in map__reloc_vmlinux()
1163 if (kmap && kmap->ref_reloc_sym && kmap->ref_reloc_sym->name && in dso__load_sym()1164 strcmp(elf_name, kmap->ref_reloc_sym->name) == 0) in dso__load_sym()1165 kmap->ref_reloc_sym->unrelocated_addr = sym.st_value; in dso__load_sym()2320 if (kmap->ref_reloc_sym) { in machine__destroy_kernel_maps()2326 free((char *)kmap->ref_reloc_sym->name); in machine__destroy_kernel_maps()2327 kmap->ref_reloc_sym->name = NULL; in machine__destroy_kernel_maps()2328 free(kmap->ref_reloc_sym); in machine__destroy_kernel_maps()2330 kmap->ref_reloc_sym = NULL; in machine__destroy_kernel_maps()
131 struct ref_reloc_sym { struct
1150 struct ref_reloc_sym *ref; in perf_session__set_kallsyms_ref_reloc_sym()1152 ref = zalloc(sizeof(struct ref_reloc_sym)); in perf_session__set_kallsyms_ref_reloc_sym()1170 kmap->ref_reloc_sym = ref; in perf_session__set_kallsyms_ref_reloc_sym()