Hi,
I had the same problem with gprof(1) that all the timing
information is zero. Today I found out what's going on.
Under Linux fork(2) resets the ITIMER_PROF. Getting the
itimer before the fork(2) with getitimer(2) and if pid==0
setting it with setitimer(2) to what it was makes profiling
work.
Jan
--
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
_________________________________________________________
Do You Yahoo!?
---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command