Home
last modified time | relevance | path

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

/linux/tools/perf/util/
H A Dsymbol-elf.c1935 struct kcore { struct
1942 static int kcore__open(struct kcore *kcore, const char *filename) in kcore__open() argument
1946 kcore->fd = open(filename, O_RDONLY); in kcore__open()
1947 if (kcore->fd == -1) in kcore__open()
1950 kcore->elf = elf_begin(kcore->fd, ELF_C_READ, NULL); in kcore__open()
1951 if (!kcore->elf) in kcore__open()
1954 kcore->elfclass = gelf_getclass(kcore->elf); in kcore__open()
1955 if (kcore->elfclass == ELFCLASSNONE) in kcore__open()
1958 ehdr = gelf_getehdr(kcore->elf, &kcore->ehdr); in kcore__open()
1965 elf_end(kcore->elf); in kcore__open()
[all …]
H A Drecord.h53 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.txt720 --kcore::
721 Make a copy of /proc/kcore and place it into a directory with the perf data file.
H A Dperf-config.txt233 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()
2572 if (rec->opts.kcore) { in __cmd_record()
3573 OPT_BOOLEAN(0, "kcore", &record.opts.kcore, "copy /proc/kcore"),
4185 if (rec->opts.kcore) in cmd_record()
4188 if (rec->opts.kcore || record__threads_enabled(rec)) in cmd_record()
/linux/Documentation/bpf/
H A Ddrgn.rst9 Instead it's reading directly from ``/proc/kcore`` or vmcore and pretty prints
/linux/Documentation/admin-guide/
H A Ddevices.rst94 /dev/core /proc/kcore symbolic Backward compatibility
H A Ddevices.txt7 2 = /dev/kmem OBSOLETE - replaced by /proc/kcore
11 6 = /dev/core OBSOLETE - replaced by /proc/kcore
/linux/Documentation/filesystems/
H A Dproc.rst742 kcore Kernel core image (can be ELF or A.OUT(deprecated in 2.4))
/linux/
H A DMAINTAINERS13608 F: fs/proc/kcore.c
13609 F: include/linux/kcore.h