Linux* Perf for Intel® VTune™ Amplifier

ID 672662
Updated 1/28/2019
Version Latest
Public

author-image

By

This page contains source code and instructions for building Linux* Perf utility suitable for using with Intel® VTune™ Amplifier performance collector. See the Intel VTune Amplifier product page for more information.

System requirements
In order to build Linux Perf you need Ubuntu* 14.04 either x86 or x64.

Common steps
1. Install required development packages: apt-get install flex bison libnuma-dev libunwind8-* libelf-dev
2. tar -xvf ./linux-4.3.1.tar.xz
3. cd linux-4.3.1
4. patch -p1 < pause.patch
5. patch -p1 < read_interval.patch
6. cd linux-4.3.1/tools/perf
7. make perf EXTRA_CFLAGS=-DHAVE_DWARF_UNWIND_SUPPORT LDFLAGS='-static -Wl,--allow-multiple-definition,--unresolved-symbols=ignore-all' NO_LIBPERL=1 NO_LIBPYTHON=1 NO_DWARF=1 NO_NEWT=1 NO_SLANG=1 NO_GTK2=1 NO_DEMANGLE=1 NO_BACKTRACE=1 NO_LIBNUMA=1 NO_LIBAUDIT=1 NO_LIBBIONIC=1 NO_LIBDW_DWAF_UNWIND=1 NO_PERF_READ_VDSO32=1 NO_PERF_READ_VDSOX32=1 NO_ZLIB=1