Subject: Re: making profiling kernel with ./build.sh
To: None <current-users@NetBSD.org>
From: Alan Barrett <apb@cequrux.com>
List: current-users
Date: 12/05/2007 12:52:24
On Wed, 05 Dec 2007, Gavan Fantom wrote:
> What's wrong with the current method - simply creating a new config file 
> for the profiling kernel (say, FOO.PROF), which looks like this?
>
> include "arch/i386/conf/FOO"
> makeoptions     PROF="-pg"
> options         GPROF

Yes, especially since the config(1) man page says "-p [...] this
options should be avoided".

--apb (Alan Barrett)