[Bf-committers] profiling blender (solved)

Chris Want cwant at ualberta.ca
Tue May 8 23:33:23 CEST 2007

Campbell Barton wrote:
> Hi, it took me a while to work all this out, but its actually pretty 
> simple in practice - using linux and make
> Add these lines to your user-def.mk
> export CFLAGS=-pg -ggdb -g3 -pipe -O0 -pedantic
> export CCLAGS=-pg -ggdb -g3 -pipe -O0 -pedantic
> export DBG_LDFLAGS= -p
> run "make clean"
> run "make debug"

To create a binary suitable for profiling, I
usually just do

export NAN_DEBUG="-pg"

Then do 'make'.


More information about the Bf-committers mailing list