Searched refs:kcore (Results 1 – 18 of 18) sorted by relevance
| /Linux-v5.10/tools/perf/util/ |
| D | symbol-elf.c | 1388 struct kcore { struct 1395 static int kcore__open(struct kcore *kcore, const char *filename) in kcore__open() argument 1399 kcore->fd = open(filename, O_RDONLY); in kcore__open() 1400 if (kcore->fd == -1) in kcore__open() 1403 kcore->elf = elf_begin(kcore->fd, ELF_C_READ, NULL); in kcore__open() 1404 if (!kcore->elf) in kcore__open() 1407 kcore->elfclass = gelf_getclass(kcore->elf); in kcore__open() 1408 if (kcore->elfclass == ELFCLASSNONE) in kcore__open() 1411 ehdr = gelf_getehdr(kcore->elf, &kcore->ehdr); in kcore__open() 1418 elf_end(kcore->elf); in kcore__open() [all …]
|
| D | record.h | 50 bool kcore; member
|
| /Linux-v5.10/tools/perf/Documentation/ |
| D | perf.data-directory-format.txt | 31 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
|
| D | perf-buildid-cache.txt | 31 --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
|
| D | perf-intel-pt.txt | 70 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
|
| D | perf-record.txt | 612 --kcore:: 613 Make a copy of /proc/kcore and place it into a directory with the perf data file.
|
| D | perf-config.txt | 235 and /proc/kcore files to be used at analysis time.
|
| /Linux-v5.10/tools/perf/ |
| D | .gitignore | 22 perf-with-kcore
|
| D | perf-with-kcore.sh | 52 KCORE=$(($SUDO "$PERF" buildid-cache -v -f -k /proc/kcore >/dev/null) 2>&1)
|
| D | builtin-record.c | 809 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()
|
| D | Makefile.perf | 282 SCRIPT_SH += perf-with-kcore.sh 945 $(call QUIET_INSTALL, perf-with-kcore) \ 946 $(INSTALL) $(OUTPUT)perf-with-kcore -t '$(DESTDIR_SQ)$(perfexec_instdir_SQ)' 1012 …$(call QUIET_CLEAN, core-objs) $(RM) $(LIBPERF_A) $(OUTPUT)perf-archive $(OUTPUT)perf-with-kcore …
|
| /Linux-v5.10/fs/proc/ |
| D | Makefile | 32 proc-$(CONFIG_PROC_KCORE) += kcore.o
|
| D | Kconfig | 33 bool "/proc/kcore support" if !ARM
|
| /Linux-v5.10/Documentation/bpf/ |
| D | drgn.rst | 9 Instead it's reading directly from ``/proc/kcore`` or vmcore and pretty prints
|
| /Linux-v5.10/Documentation/admin-guide/ |
| D | devices.rst | 95 /dev/core /proc/kcore symbolic Backward compatibility
|
| D | README.rst | 409 After you've rebooted with the new kernel, do ``gdb vmlinux /proc/kcore``.
|
| D | devices.txt | 11 6 = /dev/core OBSOLETE - replaced by /proc/kcore
|
| /Linux-v5.10/Documentation/filesystems/ |
| D | proc.rst | 684 kcore Kernel core image (can be ELF or A.OUT(deprecated in 2.4))
|