Searched refs:kce (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/tools/perf/util/ |
H A D | symbol.h | 208 int kcore_extract__create(struct kcore_extract *kce); 209 void kcore_extract__delete(struct kcore_extract *kce);
|
H A D | symbol-minimal.c | 363 int kcore_extract__create(struct kcore_extract *kce __maybe_unused) in kcore_extract__create() 368 void kcore_extract__delete(struct kcore_extract *kce __maybe_unused) in kcore_extract__delete()
|
H A D | symbol-elf.c | 2569 int kcore_extract__create(struct kcore_extract *kce) in kcore_extract__create() argument 2577 if (kcore__open(&kcore, kce->kcore_filename)) in kcore_extract__create() 2580 strcpy(kce->extract_filename, PERF_KCORE_EXTRACT); in kcore_extract__create() 2581 if (kcore__init(&extract, kce->extract_filename, kcore.elfclass, true)) in kcore_extract__create() 2587 if (kcore__add_phdr(&extract, idx, offset, kce->addr, kce->len)) in kcore_extract__create() 2594 if (copy_bytes(kcore.fd, kce->offs, extract.fd, offset, kce->len)) in kcore_extract__create() 2602 unlink(kce->extract_filename); in kcore_extract__create() 2609 void kcore_extract__delete(struct kcore_extract *kce) in kcore_extract__delete() argument 2611 unlink(kce->extract_filename); in kcore_extract__delete()
|
H A D | annotate.c | 2092 struct kcore_extract kce; in symbol__disassemble() local 2126 kce.kcore_filename = symfs_filename; in symbol__disassemble() 2127 kce.addr = map__rip_2objdump(map, sym->start); in symbol__disassemble() 2128 kce.offs = sym->start; in symbol__disassemble() 2129 kce.len = sym->end - sym->start; in symbol__disassemble() 2130 if (!kcore_extract__create(&kce)) { in symbol__disassemble() 2132 strlcpy(symfs_filename, kce.extract_filename, in symbol__disassemble() 2262 kcore_extract__delete(&kce); in symbol__disassemble()
|