From owner-freebsd-questions Tue Jun 24 14:37:57 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id OAA08286 for questions-outgoing; Tue, 24 Jun 1997 14:37:57 -0700 (PDT) Received: from spoon.beta.com (root@[199.165.180.33]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id OAA08281 for ; Tue, 24 Jun 1997 14:37:54 -0700 (PDT) Received: from spoon.beta.com (mcgovern@localhost [127.0.0.1]) by spoon.beta.com (8.8.5/8.8.5) with ESMTP id RAA06516 for ; Tue, 24 Jun 1997 17:37:47 -0400 (EDT) Message-Id: <199706242137.RAA06516@spoon.beta.com> To: questions@freebsd.org Subject: Kernel profiling... Date: Tue, 24 Jun 1997 17:37:47 -0400 From: "Brian J. McGovern" Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I know that you can use prof to profile applications. Is there any similar utility for profiling a kernel? My serial driver for the Cyclom-Z is pretty much done, except that I'm not happy with the throughput. I've been over the interrupt routine enough that I'm fairly sure its about as tight as it can get. I'm now looking at some of the other routines, but all of them seem similar to the sio driver. What I really need is some hard numbers on number of calls, and average time in the call. I looked for kprof, but it wasn't there ;) -Brian