Searched refs:kcore (Results 1 – 5 of 5) sorted by relevance
1130 struct kcore { struct1137 static int kcore__open(struct kcore *kcore, const char *filename) in kcore__open() argument1141 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 …]
25 --kcore::26 Add specified kcore file to the cache. For the current host that is27 /proc/kcore which requires root permissions to read. Be aware that33 permissions for root only. kcore will not be added if there is already a34 kcore in the cache (with the same build-id) that has the same modules at35 the same addresses. Use the -v option to see if a copy of kcore is
18 perf-with-kcore
59 KCORE=$(($SUDO "$PERF" buildid-cache -v -f -k /proc/kcore >/dev/null) 2>&1)
129 SCRIPT_SH += perf-with-kcore.sh883 $(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 $(…