Re: [C++-sig] profiling C++ python extension

2008-11-21 Thread stephan nies
Hi Mark, just had a quick glance at the google-perftools documentation. Could you provide a little more Detail in how you use it with a python extension? Do you link against libprofiler.so or do you use LD_PRELOAD ? Do you do anything special other than that? Or do you just start your python app

[C++-sig] profiling C++ python extension

2008-11-21 Thread stephan nies
Hello, I would like to profile an C++ python extension on Linux. I am aware that oprofile and valgrind exist. But I was hoping to get it done with gprof. Problem there is that for gprof to work you would have to use -pg -g at every compile and link step up to the main-function in classic C++ pr