Home
last modified time | relevance | path

Searched refs:ref_reloc_sym (Results 1 – 7 of 7) sorted by relevance

/external/linux-tools-perf/src/tools/perf/tests/
Dvmlinux-kallsyms.c29 struct ref_reloc_sym ref_reloc_sym = { .name = "_stext", }; in test__vmlinux_matches_kallsyms() local
73 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()
/external/linux-tools-perf/src/tools/perf/util/
Dsymbol-elf.c655 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()
Dmap.h22 struct ref_reloc_sym;
53 struct ref_reloc_sym *ref_reloc_sym; member
Dmachine.c544 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()
Dsymbol.h133 struct ref_reloc_sym { struct
Dsession.c1438 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()
/external/linux-tools-perf/src/tools/perf/
Dbuiltin-report.c517 (kernel_kmap->ref_reloc_sym == NULL || in __cmd_report()
518 kernel_kmap->ref_reloc_sym->addr == 0))) { in __cmd_report()