|
I am trying to profile Quantlib on linux using gprof to find out performance bottlenecks as a development exercise. To do this, I ran configure scripts as follows:
./configure CFLAGS=" -g -O2 -pg" CXXFLAGS="-g -O2 -Wall -pg"
I am using gcc/g++ 4.2.4 for compiling.
After compilation, I ran the quabtlib-benchmark to generated profile data, but all the symbols emitted by gprof are mangled. This is annoying. I tried to filter the gprof output with c++filt, but the symbols still remain mangled. Is there a way to change something (in the Makefile or configure scripts) so that I can see the demangled output.
Thanks in advance for any help.
|