Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/tools/perf/util/
H A Dsymbol-elf.c1438 struct kcore { struct
1445 static int kcore__open(struct kcore *kcore, const char *filename) in kcore__open() argument
1449 kcore->fd = open(filename, O_RDONLY); in kcore__open()
1450 if (kcore->fd == -1) in kcore__open()
1453 kcore->elf = elf_begin(kcore->fd, ELF_C_READ, NULL); in kcore__open()
1454 if (!kcore->elf) in kcore__open()
1457 kcore->elfclass = gelf_getclass(kcore->elf); in kcore__open()
1458 if (kcore->elfclass == ELFCLASSNONE) in kcore__open()
1461 ehdr = gelf_getehdr(kcore->elf, &kcore->ehdr); in kcore__open()
1468 elf_end(kcore->elf); in kcore__open()
[all …]
H A Drecord.h50 bool kcore; member
/OK3568_Linux_fs/kernel/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-intel-pt.txt70 code. A fairly good kernel image is available in /proc/kcore but to get an
71 accurate image a copy of /proc/kcore needs to be made under the same conditions
72 as the data capture. 'perf record' can make a copy of /proc/kcore if the option
73 --kcore is used, but access to /proc/kcore is restricted e.g.
75 sudo perf record -o pt_ls --kcore -e intel_pt// -- ls
78 simply 'data') and copies of /proc/kcore, /proc/kallsyms and /proc/modules into
H A Dperf-record.txt612 --kcore::
613 Make a copy of /proc/kcore and place it into a directory with the perf data file.
H A Dperf-config.txt235 and /proc/kcore files to be used at analysis time.
/OK3568_Linux_fs/yocto/poky/meta/recipes-core/udev/eudev/
H A Dlinks.conf8 L core /proc/kcore
/OK3568_Linux_fs/kernel/tools/perf/
H A D.gitignore22 perf-with-kcore
H A Dbuiltin-record.c809 char kcore[PATH_MAX]; in record__kcore_readable() local
812 scnprintf(kcore, sizeof(kcore), "%s/proc/kcore", machine->root_dir); in record__kcore_readable()
814 fd = open(kcore, O_RDONLY); in record__kcore_readable()
1680 if (rec->opts.kcore && in __cmd_record()
1717 if (rec->opts.kcore) { in __cmd_record()
2498 OPT_BOOLEAN(0, "kcore", &record.opts.kcore, "copy /proc/kcore"),
2660 if (rec->opts.kcore) in cmd_record()
H A Dperf-with-kcore.sh52 KCORE=$(($SUDO "$PERF" buildid-cache -v -f -k /proc/kcore >/dev/null) 2>&1)
H A DMakefile.perf278 SCRIPT_SH += perf-with-kcore.sh
941 $(call QUIET_INSTALL, perf-with-kcore) \
942 $(INSTALL) $(OUTPUT)perf-with-kcore -t '$(DESTDIR_SQ)$(perfexec_instdir_SQ)'
1008 …$(call QUIET_CLEAN, core-objs) $(RM) $(LIBPERF_A) $(OUTPUT)perf-archive $(OUTPUT)perf-with-kcore
/OK3568_Linux_fs/kernel/fs/proc/
H A DMakefile32 proc-$(CONFIG_PROC_KCORE) += kcore.o
H A DKconfig33 bool "/proc/kcore support" if !ARM
/OK3568_Linux_fs/kernel/Documentation/bpf/
H A Ddrgn.rst9 Instead it's reading directly from ``/proc/kcore`` or vmcore and pretty prints
/OK3568_Linux_fs/kernel/Documentation/admin-guide/
H A Ddevices.rst95 /dev/core /proc/kcore symbolic Backward compatibility
H A DREADME.rst409 After you've rebooted with the new kernel, do ``gdb vmlinux /proc/kcore``.
H A Ddevices.txt11 6 = /dev/core OBSOLETE - replaced by /proc/kcore
/OK3568_Linux_fs/kernel/Documentation/filesystems/
H A Dproc.rst691 kcore Kernel core image (can be ELF or A.OUT(deprecated in 2.4))
/OK3568_Linux_fs/recovery/
HDrootfs.cpio.gz107070100A8AEB0000041ED0000000000000000000000116841B48100000000000000FD0000000200000000000000000000000200000000.�07070100A8B07C000081A40000000000000000000000016841263500000000000000FD0000000200000000000000000000000900000000.gitkeep��07070100A8B07D000081A40000000000000000000000016841263500000000000000FD0000000200000000000000000000000B00000000.skip_fsck����07070100A8AEB10000A1FF0000000000000000000000016841B0B600000007000000FD0000000200000000000000000000000400000000bin���usr/bin�07070100A8B07E000081A400000000000000000000000168412635000001CC000000FD0000000200000000000000000000001100000000busybox. ...