Home
last modified time | relevance | path

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

/linux-6.3-rc2/tools/perf/util/
A Dsymbol-elf.c1889 struct kcore { struct
1904 kcore->elf = elf_begin(kcore->fd, ELF_C_READ, NULL); in kcore__open()
1905 if (!kcore->elf) in kcore__open()
1908 kcore->elfclass = gelf_getclass(kcore->elf); in kcore__open()
1912 ehdr = gelf_getehdr(kcore->elf, &kcore->ehdr); in kcore__open()
1937 kcore->elf = elf_begin(kcore->fd, ELF_C_WRITE, NULL); in kcore__init()
1938 if (!kcore->elf) in kcore__init()
1956 static void kcore__close(struct kcore *kcore) in kcore__close() argument
2018 static off_t kcore__write(struct kcore *kcore) in kcore__write() argument
2463 struct kcore kcore; in kcore_copy() local
[all …]
A Drecord.h52 bool kcore; member
/linux-6.3-rc2/tools/perf/Documentation/
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
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
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
1280 Copy the guest /proc/kallsyms, /proc/modules and /proc/kcore
1282 $ perf buildid-cache -v --kcore vm0/proc/kcore
1283kcore added to build-id cache directory /home/user/.debug/[kernel.kcore]/9600f316a53a0f54278885e8d…
1344 Copy the guest /proc/kallsyms, /proc/modules and /proc/kcore
1346 $ perf buildid-cache -v --kcore vm0/proc/kcore
[all …]
A Dperf-record.txt657 --kcore::
658 Make a copy of /proc/kcore and place it into a directory with the perf data file.
A Dperf-config.txt236 and /proc/kcore files to be used at analysis time.
/linux-6.3-rc2/fs/proc/
A DMakefile32 proc-$(CONFIG_PROC_KCORE) += kcore.o
A DKconfig33 bool "/proc/kcore support" if !ARM
/linux-6.3-rc2/Documentation/translations/zh_TW/admin-guide/
A DREADME.rst345 使用新內核重新啓動後,執行 ``gdb vmlinux /proc/kcore`` 。現在可以使用所有
/linux-6.3-rc2/tools/perf/
A Dbuiltin-record.c912 char kcore[PATH_MAX]; in record__kcore_readable() local
915 scnprintf(kcore, sizeof(kcore), "%s/proc/kcore", machine->root_dir); in record__kcore_readable()
917 fd = open(kcore, O_RDONLY); in record__kcore_readable()
2408 if (rec->opts.kcore && in __cmd_record()
2450 if (rec->opts.kcore) { in __cmd_record()
3420 OPT_BOOLEAN(0, "kcore", &record.opts.kcore, "copy /proc/kcore"),
4030 if (rec->opts.kcore) in cmd_record()
4033 if (rec->opts.kcore || record__threads_enabled(rec)) in cmd_record()
/linux-6.3-rc2/Documentation/bpf/
A Ddrgn.rst9 Instead it's reading directly from ``/proc/kcore`` or vmcore and pretty prints
/linux-6.3-rc2/Documentation/admin-guide/
A Ddevices.rst94 /dev/core /proc/kcore symbolic Backward compatibility
A Ddevices.txt7 2 = /dev/kmem OBSOLETE - replaced by /proc/kcore
11 6 = /dev/core OBSOLETE - replaced by /proc/kcore
/linux-6.3-rc2/Documentation/filesystems/
A Dproc.rst702 kcore Kernel core image (can be ELF or A.OUT(deprecated in 2.4))

Completed in 40 milliseconds