This repository contains a fork of perf, the profiler from the Linux kernel repository, modified in a way to interface it with eh_elfs and (hopefully) speeding it up on complicated DWARF frames
Go to file
Théophile Bastian 977d14001b Add --depth=1 to README 2018-08-17 21:00:52 +02:00
Documentation Merge tag 'afs-fixes-20180514' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs 2018-05-15 10:48:36 -07:00
arch Merge tag 'afs-fixes-20180514' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs 2018-05-15 10:48:36 -07:00
bench Merge tag 'afs-fixes-20180514' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs 2018-05-15 10:48:36 -07:00
jvmti Merge tag 'afs-fixes-20180514' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs 2018-05-15 10:48:36 -07:00
pmu-events Merge tag 'afs-fixes-20180514' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs 2018-05-15 10:48:36 -07:00
python Merge tag 'afs-fixes-20180514' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs 2018-05-15 10:48:36 -07:00
scripts Merge tag 'afs-fixes-20180514' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs 2018-05-15 10:48:36 -07:00
tests Merge tag 'afs-fixes-20180514' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs 2018-05-15 10:48:36 -07:00
trace Merge tag 'afs-fixes-20180514' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs 2018-05-15 10:48:36 -07:00
ui Merge tag 'afs-fixes-20180514' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs 2018-05-15 10:48:36 -07:00
util eh_elf: fix get_mmap 2018-06-11 19:48:29 +02:00
.gitignore Add dedicated README and borrow linux .gitignore 2018-06-11 18:16:22 +02:00
Build Merge tag 'afs-fixes-20180514' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs 2018-05-15 10:48:36 -07:00
CREDITS Merge tag 'afs-fixes-20180514' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs 2018-05-15 10:48:36 -07:00
MANIFEST Merge tag 'afs-fixes-20180514' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs 2018-05-15 10:48:36 -07:00
Makefile Merge tag 'afs-fixes-20180514' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs 2018-05-15 10:48:36 -07:00
Makefile.config Merge tag 'afs-fixes-20180514' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs 2018-05-15 10:48:36 -07:00
Makefile.perf Merge tag 'afs-fixes-20180514' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs 2018-05-15 10:48:36 -07:00
README.md Add --depth=1 to README 2018-08-17 21:00:52 +02:00
builtin-annotate.c Merge tag 'afs-fixes-20180514' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs 2018-05-15 10:48:36 -07:00
builtin-bench.c Merge tag 'afs-fixes-20180514' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs 2018-05-15 10:48:36 -07:00
builtin-buildid-cache.c Merge tag 'afs-fixes-20180514' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs 2018-05-15 10:48:36 -07:00
builtin-buildid-list.c Merge tag 'afs-fixes-20180514' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs 2018-05-15 10:48:36 -07:00
builtin-c2c.c Merge tag 'afs-fixes-20180514' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs 2018-05-15 10:48:36 -07:00
builtin-config.c Merge tag 'afs-fixes-20180514' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs 2018-05-15 10:48:36 -07:00
builtin-data.c Merge tag 'afs-fixes-20180514' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs 2018-05-15 10:48:36 -07:00
builtin-diff.c Merge tag 'afs-fixes-20180514' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs 2018-05-15 10:48:36 -07:00
builtin-evlist.c Merge tag 'afs-fixes-20180514' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs 2018-05-15 10:48:36 -07:00
builtin-ftrace.c Merge tag 'afs-fixes-20180514' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs 2018-05-15 10:48:36 -07:00
builtin-help.c Merge tag 'afs-fixes-20180514' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs 2018-05-15 10:48:36 -07:00
builtin-inject.c Merge tag 'afs-fixes-20180514' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs 2018-05-15 10:48:36 -07:00
builtin-kallsyms.c Merge tag 'afs-fixes-20180514' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs 2018-05-15 10:48:36 -07:00
builtin-kmem.c Merge tag 'afs-fixes-20180514' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs 2018-05-15 10:48:36 -07:00
builtin-kvm.c Merge tag 'afs-fixes-20180514' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs 2018-05-15 10:48:36 -07:00
builtin-list.c Merge tag 'afs-fixes-20180514' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs 2018-05-15 10:48:36 -07:00
builtin-lock.c Merge tag 'afs-fixes-20180514' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs 2018-05-15 10:48:36 -07:00
builtin-mem.c Merge tag 'afs-fixes-20180514' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs 2018-05-15 10:48:36 -07:00
builtin-probe.c Merge tag 'afs-fixes-20180514' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs 2018-05-15 10:48:36 -07:00
builtin-record.c Merge tag 'afs-fixes-20180514' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs 2018-05-15 10:48:36 -07:00
builtin-report.c eh_elf: report timer 2018-06-15 01:26:53 +02:00
builtin-sched.c Merge tag 'afs-fixes-20180514' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs 2018-05-15 10:48:36 -07:00
builtin-script.c Merge tag 'afs-fixes-20180514' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs 2018-05-15 10:48:36 -07:00
builtin-stat.c Merge tag 'afs-fixes-20180514' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs 2018-05-15 10:48:36 -07:00
builtin-timechart.c Merge tag 'afs-fixes-20180514' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs 2018-05-15 10:48:36 -07:00
builtin-top.c Merge tag 'afs-fixes-20180514' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs 2018-05-15 10:48:36 -07:00
builtin-trace.c Merge tag 'afs-fixes-20180514' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs 2018-05-15 10:48:36 -07:00
builtin-version.c Merge tag 'afs-fixes-20180514' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs 2018-05-15 10:48:36 -07:00
builtin.h Merge tag 'afs-fixes-20180514' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs 2018-05-15 10:48:36 -07:00
check-headers.sh Merge tag 'afs-fixes-20180514' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs 2018-05-15 10:48:36 -07:00
command-list.txt Merge tag 'afs-fixes-20180514' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs 2018-05-15 10:48:36 -07:00
design.txt Merge tag 'afs-fixes-20180514' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs 2018-05-15 10:48:36 -07:00
make-target Add script to easily build for multiple targets 2018-06-29 15:39:58 +02:00
perf-archive.sh Merge tag 'afs-fixes-20180514' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs 2018-05-15 10:48:36 -07:00
perf-completion.sh Merge tag 'afs-fixes-20180514' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs 2018-05-15 10:48:36 -07:00
perf-read-vdso.c Merge tag 'afs-fixes-20180514' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs 2018-05-15 10:48:36 -07:00
perf-sys.h Merge tag 'afs-fixes-20180514' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs 2018-05-15 10:48:36 -07:00
perf-with-kcore.sh Merge tag 'afs-fixes-20180514' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs 2018-05-15 10:48:36 -07:00
perf.c Merge tag 'afs-fixes-20180514' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs 2018-05-15 10:48:36 -07:00
perf.h Merge tag 'afs-fixes-20180514' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs 2018-05-15 10:48:36 -07:00

README.md

Perf, eh_elf flavour

This repository contains a fork of perf, the profiler from the Linux kernel repository, modified in a way to interface it with eh_elfs and (hopefully) speeding it up on complicated DWARF frames

Compiling

Clone the Linux kernel repository or get a tarball of its source tree, then replace the tools/perf directory with a clone of this repo. If you wish to clone the Linux source tree, and if you're not going to work on it, you might consider passing --depth=1 to git clone, in order not to download the history, to keep the download light. Then, cd tools/perf and make, without forgetting to give the compilation tools the right version of libunwind, eg. by setting LD_RUN_PATH and LIBUNWIND_DIR:

    export LD_RUN_PATH=$HOME/local/libunwind/lib
    export LIBUNWIND_DIR=$HOME/local/libunwind
    make

This works at least with the linux repository at v4.17-rc5