perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <>
Subject profiling mod_perl DSO?
Date Wed, 21 Nov 2001 17:23:00 GMT
I've recompiled httpd with CFLAGS=-pg and mod_perl MP_CCOPTS='-pg'. I 
can see the profile of httpd but not a single function from Should I do something special, because it's DSO?

After running 't/TEST -d' / 't/TEST -run' I get:

with mostly I think real data in t/htdocs/gmon.out

when I run gprof on these I don't see modperl calls profiled.

Why am I profiling? I've figured by trial and error that about 15 secs 
are spent in one require (see my previous post), I still miss 30 secs 
somewhere spent by gdb, I thought that the profiler will be the best 
tool to use to figure it out.

I think that disabling GTOP have improved the speed as well. Don't have 
the numbers yet.

Stas Bekman             JAm_pH      --   Just Another mod_perl Hacker      mod_perl Guide

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message