On Thu, Oct 17, 2002 at 03:58:22PM +0100, Barbie wrote: > I'm trying to get Apache::DProf running with mod_perl. Unfortunately the > resulting tmon.out files all contain basic header info and a single line, > such as "@ 2 0 147044", under PART2, which corresponds to the rrun variable > settings. I must be missing something, but the perldoc isn't very helpful, > as there's more about how to configure Devel::DProf under mod_perl, than > there is of Apache::DProf itself.
I had enormous problems with Apache::DProf - it would inevitably produce truncated/corrupt tmon.out files - which looked to my untutored eye as though something internally was getting confused as to where in the call stack it was, and ended up trying to pop an empty stack at context exit. Some dark nargery in a really ill-advised fashion seemed to confirm this, but I lacked the skill to fix it, and started using Devel::Profiler::Apache instead. I can explain further if you'd like, and please let me know if you get anywhere with Apache::DProf. Ben