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

2008-11-21 Thread Mark Williams
stephan nies wrote: 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

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

2008-11-21 Thread Mark Williams
Alex Mohr wrote: I am aware that oprofile and valgrind exist. Has anyone of you ever done profiling a C or C++ extension with gprof? Not me, but I have to say that valgrind's callgrind tool with kcachegrind to view the results has been perhaps the best profiling experience I've had on Linux

[C++-sig] boost.python / bjam

2008-10-15 Thread Mark Williams
Hi, is it possible to build boost.python such that the python version gets embedded in the .so name along with the compiler name, version, multithread flags, etc? For example, "libboost_python25-gcc41-mt-1_35.so" instead of "libboost_python-gcc41-mt-1_35.so" Alternatively, is it possible to