[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Profiling C programs



* please do not top post *
* my reply at end *


On Fri, 2005-07-15 at 14:50 +0500, Asim Jamshed wrote:
> Yes, I am using the '--with-profiling-data' during the configure
> option and using the -pg switch in the Makefile.
>  
> 
> On 7/15/05, michael <linux@networkingnewsletter.org.uk> wrote:
> > On Fri, 2005-07-15 at 11:20 +0500, Asim Jamshed wrote:
> > > Hi,
> > > I am profiling Samba-2.2.8 source code using gprof. The problem I am
> > > facing is that the data generated through profiling is only giving
> > > names of application functions(which are only called up during
> > > initialization of the server). The majority of the time is usually
> > > spent by the server is in library functions and system calls. Is there
> > > any way I could measure the times taken by those routines?
> > >
> > 
> > Have you ensured everything that's called and been compiled with the
> > relevant flags?
> > 
> > 

please give your full compilation line, execution cmd and gprof



Reply to: