Searched refs:kcore (Results 1 – 9 of 9) sorted by relevance
| /tools/perf/Documentation/ |
| A 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
|
| A 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
|
| A 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 1338 Copy the guest /proc/kallsyms, /proc/modules and /proc/kcore 1340 $ perf buildid-cache -v --kcore vm0/proc/kcore 1341 …kcore added to build-id cache directory /home/user/.debug/[kernel.kcore]/9600f316a53a0f54278885e8d… 1402 Copy the guest /proc/kallsyms, /proc/modules and /proc/kcore 1404 $ perf buildid-cache -v --kcore vm0/proc/kcore [all …]
|
| A D | perf-record.txt | 716 --kcore:: 717 Make a copy of /proc/kcore and place it into a directory with the perf data file.
|
| A D | perf-config.txt | 233 and /proc/kcore files to be used at analysis time.
|
| /tools/perf/util/ |
| A D | symbol-elf.c | 2004 struct kcore { struct 2011 static int kcore__open(struct kcore *kcore, const char *filename) in kcore__open() argument 2019 kcore->elf = elf_begin(kcore->fd, ELF_C_READ, NULL); in kcore__open() 2020 if (!kcore->elf) in kcore__open() 2023 kcore->elfclass = gelf_getclass(kcore->elf); in kcore__open() 2027 ehdr = gelf_getehdr(kcore->elf, &kcore->ehdr); in kcore__open() 2052 kcore->elf = elf_begin(kcore->fd, ELF_C_WRITE, NULL); in kcore__init() 2071 static void kcore__close(struct kcore *kcore) in kcore__close() argument 2133 static off_t kcore__write(struct kcore *kcore) in kcore__write() argument 2578 struct kcore kcore; in kcore_copy() local [all …]
|
| A D | record.h | 53 bool kcore; member
|
| /tools/perf/tests/shell/ |
| A D | test_arm_coresight_disasm.sh | 45 if [ -e /proc/kcore ]; then 47 perf record -o ${perfdata} -e cs_etm//k --kcore -- touch $file > /dev/null 2>&1
|
| /tools/perf/ |
| A D | builtin-record.c | 1014 char kcore[PATH_MAX]; in record__kcore_readable() local 1017 scnprintf(kcore, sizeof(kcore), "%s/proc/kcore", machine->root_dir); in record__kcore_readable() 1019 fd = open(kcore, O_RDONLY); in record__kcore_readable() 2483 if (rec->opts.kcore && in __cmd_record() 2536 if (rec->opts.kcore) { in __cmd_record() 3537 OPT_BOOLEAN(0, "kcore", &record.opts.kcore, "copy /proc/kcore"), 4148 if (rec->opts.kcore) in cmd_record() 4151 if (rec->opts.kcore || record__threads_enabled(rec)) in cmd_record()
|
Completed in 25 milliseconds