djantzen has asked for the wisdom of the Perl Monks concerning the following question:
Hi All, I'm trying to use dprofpp and the Devel::DProf to debug a set of modules. I run the script with
to generate tmon.out, then use dprof with the -T option to get a nice call tree output. The problem is that the resulting file is close to 38,000 lines long, mostly with not so useful stuff like BEGIN and DESTROY blocks, thousands of DBI calls, and some calls to other sections of our codebase I don't care about. Is there any way to simplify the output to something usable, say, to give a list of modules to which subroutines must belong in order to show up in the output? Or maybe someone else has written a tool for filtering the output? At this point I'm thinking I may end up just writing a script to filter by module name myself. Any gotchas you can think of?perl -d:DProf script.pl
Thanks in Advance, David
"The dead do not recognize context" -- Kai, Lexx
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Simplifying dprofpp Output
by BrowserUk (Patriarch) on Mar 30, 2004 at 23:30 UTC | |
by djantzen (Priest) on Mar 31, 2004 at 00:08 UTC | |
by diablo (Initiate) on Mar 31, 2004 at 07:13 UTC | |
Re: Simplifying dprofpp Output
by djantzen (Priest) on Mar 30, 2004 at 23:17 UTC | |
Re: Simplifying dprofpp Output
by eXile (Priest) on Mar 31, 2004 at 03:09 UTC |
Back to
Seekers of Perl Wisdom