Home
last modified time | relevance | path

Searched refs:kcore (Results 1 – 10 of 10) sorted by relevance

/linux/tools/perf/util/
H A Dsymbol-elf.c1989 struct kcore { in kcore__init()
1996 static int kcore__open(struct kcore *kcore, const char *filename) in kcore__init()
2000 kcore->fd = open(filename, O_RDONLY | O_CLOEXEC); in kcore__init()
2001 if (kcore->fd == -1)
2004 kcore->elf = elf_begin(kcore->fd, ELF_C_READ, NULL); in kcore__close()
2005 if (!kcore->elf) in kcore__close()
2008 kcore->elfclass = gelf_getclass(kcore
1935 struct kcore { global() struct
1942 kcore__open(struct kcore * kcore,const char * filename) kcore__open() argument
1971 kcore__init(struct kcore * kcore,char * filename,int elfclass,bool temp) kcore__init() argument
2002 kcore__close(struct kcore * kcore) kcore__close() argument
2044 kcore__add_phdr(struct kcore * kcore,int idx,off_t offset,u64 addr,u64 len) kcore__add_phdr() argument
2064 kcore__write(struct kcore * kcore) kcore__write() argument
2509 struct kcore kcore; kcore_copy() local
2592 struct kcore kcore; kcore_extract__create() local
[all...]
H A Drecord.h55 bool kcore; member
/linux/tools/perf/Documentation/
H A Dperf.data-directory-format.txt31 the --kcore option which puts a copy of /proc/kcore into the directory.
34 $ sudo perf record --kcore uname
43 ├── [-r-------- 40230912] kcore
53 Using perf.data/kcore_dir/kcore for kernel data
H A Dperf-buildid-cache.txt31 --kcore::
32 Add specified kcore file to the cache. For the current host that is
33 /proc/kcore which requires root permissions to read. Be aware that
39 permissions for root only. kcore will not be added if there is already a
40 kcore in the cache (with the same build-id) that has the same modules at
41 the same addresses. Use the -v option to see if a copy of kcore is
H A Dperf-record.txt721 --kcore::
722 Make a copy of /proc/kcore and place it into a directory with the perf data file.
H A Dperf-config.txt239 and /proc/kcore files to be used at analysis time.
/linux/tools/perf/tests/shell/
H A Dtest_arm_coresight_disasm.sh
/linux/fs/proc/
H A DMakefile34 proc-$(CONFIG_PROC_KCORE) += kcore.o
/linux/tools/perf/
H A Dbuiltin-record.c979 char kcore[PATH_MAX]; in record__kcore_readable()
982 scnprintf(kcore, sizeof(kcore), "%s/proc/kcore", machine->root_dir); in record__kcore_readable()
984 fd = open(kcore, O_RDONLY); in record__kcore_readable()
2520 if (rec->opts.kcore && in __cmd_record()
2522 pr_err("ERROR: kcore is not readable.\n"); in __cmd_record()
2573 if (rec->opts.kcore) { in __cmd_record()
2576 pr_err("ERROR: Failed to copy kcore\n"); in __cmd_record()
3543 OPT_BOOLEAN(0, "kcore",
977 char kcore[PATH_MAX]; record__kcore_readable() local
[all...]
/linux/
H A DMAINTAINERS13965 F: fs/proc/kcore.c
13966 F: include/linux/kcore.h