Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Oct 2001 16:53:14 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Dag-Erling Smorgrav <des@ofug.org>
Cc:        Matt Dillon <dillon@earth.backplane.com>, <cvs-committers@FreeBSD.org>, <cvs-all@FreeBSD.org>
Subject:   Re: cvs commit: src/sys/vm vnode_pager.c
Message-ID:  <20011016164239.C6962-100000@delplex.bde.org>
In-Reply-To: <xzpy9mczidq.fsf@flood.ping.uio.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On 15 Oct 2001, Dag-Erling Smorgrav wrote:

> Matt Dillon <dillon@earth.backplane.com> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011016164239.C6962-100000>