Home
last modified time | relevance | path

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

/linux/tools/perf/util/
H A Dsymbol-elf.c1937 struct kcore {
1944 static int kcore__open(struct kcore *kcore, const char *filename) in kcore__open()
1948 kcore->fd = open(filename, O_RDONLY); in kcore__open()
1949 if (kcore->fd == -1) in kcore__open()
1952 kcore->elf = elf_begin(kcore->fd, ELF_C_READ, NULL); in kcore__open()
1953 if (!kcore->elf) in kcore__open()
1956 kcore->elfclass = gelf_getclass(kcore in kcore__open()
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.sh45 if [ -e /proc/kcore ]; then
47 perf record -o ${perfdata} -e cs_etm//k --kcore -- touch $file > /dev/null 2>&1
/linux/fs/proc/
H A DMakefile32 proc-$(CONFIG_PROC_KCORE) += kcore.o
/linux/tools/perf/
H A Dbuiltin-record.c977 char kcore[PATH_MAX]; in record__kcore_readable() local
980 scnprintf(kcore, sizeof(kcore), "%s/proc/kcore", machine->root_dir); in record__kcore_readable()
982 fd = open(kcore, O_RDONLY); in record__kcore_readable()
2519 if (rec->opts.kcore && in __cmd_record()
2521 pr_err("ERROR: kcore is not readable.\n"); in __cmd_record()
2572 if (rec->opts.kcore) { in __cmd_record()
2575 pr_err("ERROR: Failed to copy kcore\n"); in __cmd_record()
3541 OPT_BOOLEAN(0, "kcore",
[all...]