From owner-freebsd-current Sat Jun 26 9:12:37 1999 Delivered-To: freebsd-current@freebsd.org Received: from herring.nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (Postfix) with ESMTP id 691CB14E73 for ; Sat, 26 Jun 1999 09:12:31 -0700 (PDT) (envelope-from dfr@nlsystems.com) Received: from localhost (dfr@localhost) by herring.nlsystems.com (8.9.3/8.8.8) with ESMTP id RAA61957; Sat, 26 Jun 1999 17:11:13 +0100 (BST) (envelope-from dfr@nlsystems.com) Date: Sat, 26 Jun 1999 17:11:13 +0100 (BST) From: Doug Rabson To: Poul-Henning Kamp Cc: Hidetoshi Shimokawa , pb@fasterix.freenix.org, freebsd-current@FreeBSD.ORG Subject: Re: kernel profiling In-Reply-To: <21070.930412938@critter.freebsd.dk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 26 Jun 1999, Poul-Henning Kamp wrote: > In message , Do > ug Rabson writes: > > >> You can enable kernel profiling by configure kernel with `-p' or '-pp' > >> option. See config(8) and kgmon(8) for detail. > >> > >> I have a patch for FreeBSD/alpha to support kernel profiling. > > > >Another excellent alternative for kernel profiling is iprobe. > > Not to mention compiling with "-g -a" and using kernbb to get Basic > Block profiling. I have not tried that. Iprobe is a nice low-overhead flat profiler which can correlate time spent in both the kernel and user-mode processes. If you don't need call-graph information and are using an alpha, it is an excellent tool. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 442 9037 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message