1834604 Members
3797 Online
110069 Solutions
New Discussion

gprof on 11.11

 

gprof on 11.11

Hi!

I have some problems with profilling on 11.11.
I didn't had any of these problems (on 10.30) and don't know what's the cause.
One of the problems was that my code wouldn't compile without the -ldld library
(why is this needed now?) and at runtime it returned an undefined reference for
gethostbyname().
I solved this problem by using -l:libgprof.1 switch and i generated the gmon.out file.

After profilling with gprof the info in the call graph is weird.
I don't get correct data for my functions and there are a lot of
references to $$mulI, $$remI which i never encountered before that are on the first
3 positions. I don't get profilling data starting from my main() function and so on.
Can someone please explain what should i do (patches?).


The tools i use are:

HP C compiler bundle:
B3899BA

cc:
LINT A.11.01.21 CXREF A.11.01.21
HP92453-01 A.11.01.21 HP C Compiler
$ Sep 8 2000 23:13:51 $

gprof:
$Revision: B.11.11_LR
Fri Oct 27 00:42:26 PDT 2000 $
$Revision: 82.2.1.4 $

Thanks for your time.
It's been emotional