Home
last modified time | relevance | path

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

/tools/perf/util/
Dsymbol-elf.c1130 struct kcore { struct
1137 static int kcore__open(struct kcore *kcore, const char *filename) in kcore__open() argument
1141 kcore->fd = open(filename, O_RDONLY); in kcore__open()
1142 if (kcore->fd == -1) in kcore__open()
1145 kcore->elf = elf_begin(kcore->fd, ELF_C_READ, NULL); in kcore__open()
1146 if (!kcore->elf) in kcore__open()
1149 kcore->elfclass = gelf_getclass(kcore->elf); in kcore__open()
1150 if (kcore->elfclass == ELFCLASSNONE) in kcore__open()
1153 ehdr = gelf_getehdr(kcore->elf, &kcore->ehdr); in kcore__open()
1160 elf_end(kcore->elf); in kcore__open()
[all …]
/tools/perf/Documentation/
Dperf-buildid-cache.txt25 --kcore::
26 Add specified kcore file to the cache. For the current host that is
27 /proc/kcore which requires root permissions to read. Be aware that
33 permissions for root only. kcore will not be added if there is already a
34 kcore in the cache (with the same build-id) that has the same modules at
35 the same addresses. Use the -v option to see if a copy of kcore is
/tools/perf/
D.gitignore18 perf-with-kcore
Dperf-with-kcore.sh59 KCORE=$(($SUDO "$PERF" buildid-cache -v -f -k /proc/kcore >/dev/null) 2>&1)
DMakefile.perf129 SCRIPT_SH += perf-with-kcore.sh
883 $(call QUIET_INSTALL, perf-with-kcore) \
884 $(INSTALL) $(OUTPUT)perf-with-kcore -t '$(DESTDIR_SQ)$(perfexec_instdir_SQ)'
930 …BJS) $(BUILTIN_OBJS) $(LIB_FILE) $(OUTPUT)perf-archive $(OUTPUT)perf-with-kcore $(OUTPUT)perf.o $(…