From owner-freebsd-questions@FreeBSD.ORG Sun May 21 00:26:57 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 730F416A534 for ; Sun, 21 May 2006 00:26:57 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B7BC43D6A for ; Sun, 21 May 2006 00:26:44 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id 1F5F15E11 for ; Sat, 20 May 2006 20:26:44 -0400 (EDT) X-Virus-Scanned: amavisd-new at codefab.com Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AOGaCr8-pWNp for ; Sat, 20 May 2006 20:26:41 -0400 (EDT) Received: from [192.168.1.251] (pool-68-160-242-211.ny325.east.verizon.net [68.160.242.211]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pi.codefab.com (Postfix) with ESMTP id 74AEB5DB5 for ; Sat, 20 May 2006 20:26:41 -0400 (EDT) Message-ID: <446FB3BD.3070802@mac.com> Date: Sat, 20 May 2006 20:26:37 -0400 From: Chuck Swiger User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20060520155851.3F1F.GERARD@seibercom.net> In-Reply-To: <20060520155851.3F1F.GERARD@seibercom.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Profile Libraries X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 00:26:57 -0000 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