Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/perf/util/
Dsymbol.h213 int kcore_extract__create(struct kcore_extract *kce);
214 void kcore_extract__delete(struct kcore_extract *kce);
Dsymbol-elf.c2046 int kcore_extract__create(struct kcore_extract *kce) in kcore_extract__create() argument
2054 if (kcore__open(&kcore, kce->kcore_filename)) in kcore_extract__create()
2057 strcpy(kce->extract_filename, PERF_KCORE_EXTRACT); in kcore_extract__create()
2058 if (kcore__init(&extract, kce->extract_filename, kcore.elfclass, true)) in kcore_extract__create()
2064 if (kcore__add_phdr(&extract, idx, offset, kce->addr, kce->len)) in kcore_extract__create()
2071 if (copy_bytes(kcore.fd, kce->offs, extract.fd, offset, kce->len)) in kcore_extract__create()
2079 unlink(kce->extract_filename); in kcore_extract__create()
2086 void kcore_extract__delete(struct kcore_extract *kce) in kcore_extract__delete() argument
2088 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.c1924 struct kcore_extract kce; in symbol__disassemble() local
1957 kce.kcore_filename = symfs_filename; in symbol__disassemble()
1958 kce.addr = map__rip_2objdump(map, sym->start); in symbol__disassemble()
1959 kce.offs = sym->start; in symbol__disassemble()
1960 kce.len = sym->end - sym->start; in symbol__disassemble()
1961 if (!kcore_extract__create(&kce)) { in symbol__disassemble()
1963 strlcpy(symfs_filename, kce.extract_filename, in symbol__disassemble()
2090 kcore_extract__delete(&kce); in symbol__disassemble()