python + gcov

labrach at gmail.com labrach at gmail.com
Wed Aug 29 12:22:51 EDT 2007


Hi
I want to profile (and analyse coverage) some  c++ code imported as a
python module
I've compiled python (2.4.2) with gcc 3.4.3 and flags=-Wall -fprofile-
arcs -ftest-coverage in order to use gcov. However, the python binary
does not generate any coverage file (such than *.gcno, gcda) during
execution.
any tips ?
or may be another method to profile c++ wrapped modules within
python ?

thanks

laurent




More information about the Python-list mailing list