Home
last modified time | relevance | path

Searched refs:kce (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/tools/perf/util/
Dsymbol.h224 int kcore_extract__create(struct kcore_extract *kce);
225 void kcore_extract__delete(struct kcore_extract *kce);
Dsymbol-elf.c2196 int kcore_extract__create(struct kcore_extract *kce) in kcore_extract__create() argument
2204 if (kcore__open(&kcore, kce->kcore_filename)) in kcore_extract__create()
2207 strcpy(kce->extract_filename, PERF_KCORE_EXTRACT); in kcore_extract__create()
2208 if (kcore__init(&extract, kce->extract_filename, kcore.elfclass, true)) in kcore_extract__create()
2214 if (kcore__add_phdr(&extract, idx, offset, kce->addr, kce->len)) in kcore_extract__create()
2221 if (copy_bytes(kcore.fd, kce->offs, extract.fd, offset, kce->len)) in kcore_extract__create()
2229 unlink(kce->extract_filename); in kcore_extract__create()
2236 void kcore_extract__delete(struct kcore_extract *kce) in kcore_extract__delete() argument
2238 unlink(kce->extract_filename); in kcore_extract__delete()
Dsymbol-minimal.c363 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()
Dannotate.c1963 struct kcore_extract kce; in symbol__disassemble() local
1997 kce.kcore_filename = symfs_filename; in symbol__disassemble()
1998 kce.addr = map__rip_2objdump(map, sym->start); in symbol__disassemble()
1999 kce.offs = sym->start; in symbol__disassemble()
2000 kce.len = sym->end - sym->start; in symbol__disassemble()
2001 if (!kcore_extract__create(&kce)) { in symbol__disassemble()
2003 strlcpy(symfs_filename, kce.extract_filename, in symbol__disassemble()
2132 kcore_extract__delete(&kce); in symbol__disassemble()