On Mon, 4 Sep 2006 13:26:57 +0200
Andreas Schuldei <[EMAIL PROTECTED]> wrote:

> hі!
> 
> I would like to generate statistics on what functions in my
> codebase are heavily used, used, barely used or unused.
> 
> I was told that it should be trivial to insert a callback
> function into one of the mod perl hooks to get the function name
> and module it resides in (and then log it to syslog).
> 
> how can i do this? Has this been done before? where can i find
> information on this?
> 
> /andreas

   You probably want to check out this article I wrote on debugging and
   profiling mod_perl applications.  It will show you how to see the 
   most used functions, lines of source, etc.  

   http://www.perl.com/pub/a/2006/02/09/debug_mod_perl.html

   The profiling stuff on pages 2 and 3 is what you're after. Hope it
   helps. 

 ---------------------------------
   Frank Wiles <[EMAIL PROTECTED]>
   http://www.wiles.org
 ---------------------------------

Reply via email to