John ORourke wrote: > Hi folks, > > Any idea why Apache::DProf would be failing to list some subroutines > that are definitely being called, in the tmon.out file? > > I grepped all sub references from tmon.out and it's listing my method > handlers, it's listing some of my constructors, and its listing some > object methods, but there are loads missing. I know they should be > there because some of the listed subs are only called from non-listed ones! > > The only things I'm doing which might affect it are: > - a fair bit of subclassing, but that doesn't explain many of the > missing ones > - using Error.pm - could this be interfering?
I have no idea, but I'd suggest trying Devel::Profiler, as it tends to handle mod_perl applications more gracefully. it also has an interface for skipping over unfriendly packages and subs, which Error.pm may indeed be. it also will shortly have a TT plugin for adding [% PROCESS %] timings to tmon.out, if you find that kind of thing useful ;) --Geff