Profiling with Google Performance Tools

Build Google Performance Tools

You should have a running version of graphviz on your system
=> Check  dot -V 

~ $ cd /data/foo
/data/foo $ mkdir perftools
/data/foo $ cd perftools
/data/foo/perftools $ wget http://google-perftools.googlecode.com/files/google-perftools-1.1.tar.gz
/data/foo/perftools $ tar xzf google-perftools-1.1.tar.gz
/data/foo/perftools $ cd google-perftools-1.1
/data/foo/perftools/google-perftools-1.1 $ ./configure --prefix=/data/foo/perftools/1.1
/data/foo/perftools/google-perftools-1.1 $ make
/data/foo/perftools/google-perftools-1.1 $ make install

With libunwind

./configure --prefix=/data/foo/perftools/1.5 CPPFLAGS=-I/data/foo/libunwind/include LDFLAGS=-L/data/foo/libunwind/lib

Using Google Performance Tools for CPU Profiling

Using Google Performance Tools for CPU Profiling (for the impatient)

Get the results

perfout.png

* Too complex? Focus on the important:

JörgenSamson/ProfilingWithGooglePerformanceTools (last edited 2010-06-29 13:01:00 by JörgenSamson)