Title: No time statistics in gprof, although multithtread hook is pre-loaded

Hello friends,


I am trying to get profiling data for the CA product. They built for me executables with gprof option.

The CA insisted their daemons are not multithreaded, but I saw  that they use  g++ STL (STL surely is thread-safe and uses pthread lib) .

So I  implemented the hook for the multythreaded application because I got
"no time collected" message from the gprof.

Hook is here:
http://sam.zoy.org/writings/programming/gprof.html


Althoutg hook is really preloaded, I still do not have time statistics.

I am using RH AS 3 update 6

Kernel :

2.4.21-37.ELsmp #1 SMP
glibc-2.3.2-95.37
libgcc-3.4.5-2

Help is very welcomed,

Lev

Reply via email to