You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
4 years ago | |
---|---|---|
Documentation | 4 years ago | |
arch | 4 years ago | |
bench | 4 years ago | |
jvmti | 4 years ago | |
pmu-events | 4 years ago | |
python | 4 years ago | |
scripts | 4 years ago | |
tests | 4 years ago | |
trace | 4 years ago | |
ui | 4 years ago | |
util | 4 years ago | |
.gitignore | 4 years ago | |
Build | 4 years ago | |
CREDITS | 4 years ago | |
MANIFEST | 4 years ago | |
Makefile | 4 years ago | |
Makefile.config | 4 years ago | |
Makefile.perf | 4 years ago | |
README.md | 4 years ago | |
builtin-annotate.c | 4 years ago | |
builtin-bench.c | 4 years ago | |
builtin-buildid-cache.c | 4 years ago | |
builtin-buildid-list.c | 4 years ago | |
builtin-c2c.c | 4 years ago | |
builtin-config.c | 4 years ago | |
builtin-data.c | 4 years ago | |
builtin-diff.c | 4 years ago | |
builtin-evlist.c | 4 years ago | |
builtin-ftrace.c | 4 years ago | |
builtin-help.c | 4 years ago | |
builtin-inject.c | 4 years ago | |
builtin-kallsyms.c | 4 years ago | |
builtin-kmem.c | 4 years ago | |
builtin-kvm.c | 4 years ago | |
builtin-list.c | 4 years ago | |
builtin-lock.c | 4 years ago | |
builtin-mem.c | 4 years ago | |
builtin-probe.c | 4 years ago | |
builtin-record.c | 4 years ago | |
builtin-report.c | 4 years ago | |
builtin-sched.c | 4 years ago | |
builtin-script.c | 4 years ago | |
builtin-stat.c | 4 years ago | |
builtin-timechart.c | 4 years ago | |
builtin-top.c | 4 years ago | |
builtin-trace.c | 4 years ago | |
builtin-version.c | 4 years ago | |
builtin.h | 4 years ago | |
check-headers.sh | 4 years ago | |
command-list.txt | 4 years ago | |
design.txt | 4 years ago | |
make-target | 4 years ago | |
perf-archive.sh | 4 years ago | |
perf-completion.sh | 4 years ago | |
perf-read-vdso.c | 4 years ago | |
perf-sys.h | 4 years ago | |
perf-with-kcore.sh | 4 years ago | |
perf.c | 4 years ago | |
perf.h | 4 years ago |
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