From owner-cvs-all Tue Oct 16 0: 3: 2 2001 Delivered-To: cvs-all@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 0EDE337B416; Tue, 16 Oct 2001 00:02:56 -0700 (PDT) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id QAA02010; Tue, 16 Oct 2001 16:54:04 +1000 Date: Tue, 16 Oct 2001 16:53:14 +1000 (EST) From: Bruce Evans X-X-Sender: To: Dag-Erling Smorgrav Cc: Matt Dillon , , Subject: Re: cvs commit: src/sys/vm vnode_pager.c In-Reply-To: Message-ID: <20011016164239.C6962-100000@delplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 15 Oct 2001, Dag-Erling Smorgrav wrote: > Matt Dillon writes: > > man config. e.g. using config -pg, I believe, will generate a kernel > > with profiling. On -stable anyway. config -p[p] > Yes, but how do I extract the profiling information? I normally use this script: --- #!/bin/sh sync # Change to -rb for lower overhead lower quality low resolution profiling: kgmon -rB # Change to operation to be profiled if not just general system activity # for 10 seconds: sleep 10 kgmon -hp gprof4 -u `sysctl -n kern.bootfile` gmon.out >zp --- Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message