Linux* Perf for Intel® VTune™ Amplifier

Published: 04/02/2014  

Last Updated: 01/28/2019

By Kirill Rogozhin

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

Attachment Size
glibc-2-5-tar.bz2 14.6 MB
numactl-master.zip 119.2 KB

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.