788 B
788 B
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.
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