On Fri, 18 Feb 2005, Richard Chen wrote: > Most importantly, after the server process is shutdown and dprofpp > is applied to the tmon.out file, it always complains about garbled profile. > The -F option for dprofpp does not help. So basically I cannot use any data > inside the tmon.out file. > > Has anyone successfully used Devel::Profiler::Apache?
Yes. But that said, your experience seems to be increasingly common. I suspect a popular module (DBI? mod_perl?) has started playing nasty XS tricks that are confusing Devel::Profiler. One thing you can try is adding modules to bad_pkgs until the problem goes away. Start with anything written in C. Alternately, write a package_filter which only tries to profile the modules you're interested in. For example, on the Krang project I used a package_filter that only instrumented modules in the Krang:: namespace. -sam