Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 May 2006 20:26:37 -0400
From:      Chuck Swiger <cswiger@mac.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Profile Libraries
Message-ID:  <446FB3BD.3070802@mac.com>
In-Reply-To: <20060520155851.3F1F.GERARD@seibercom.net>
References:  <20060520155851.3F1F.GERARD@seibercom.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Gerard Seibert wrote:
> This is probably a dumb question, but what are 'profile libraries'?
> There is the option to use either -NO_PROFILE while building a port, or
> putting it in the make.conf file as NO_PROFILE= true, so I assume it
> does something. If these libraries are not required, why are they built
> by default anyway?

See "man gprof" for details.  Basicly, the libraries contain code which 
is instrumented so that you can figure out things like where the program 
is spending CPU time and what the call graph looks like.  These are used 
by developers for performance tuning only, and are not needed for 
production systems which are not running test/debug code...

-- 
-Chuck




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?446FB3BD.3070802>