Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jun 1999 00:09:08 +0900
From:      Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
To:        pb@fasterix.freenix.org
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: kernel profiling
Message-ID:  <14196.60692.776168.25222H@ett.sat.t.u-tokyo.ac.jp>
In-Reply-To: In your message of "Sat, 26 Jun 1999 16:11:43 %2B0200" <19990626161143.A9799@fasterix.frmug.fr.net>
References:  <19990626161143.A9799@fasterix.frmug.fr.net>

next in thread | previous in thread | raw e-mail | index | archive | help
At Sat, 26 Jun 1999 16:11:43 +0200,
Pierre Beyssac <pb@fasterix.freenix.org> wrote:
> 
> Just curious: would it be easily doable to profile the kernel by
> sampling the program counter, la profil(2) but for kernel mode?
> Has anyone attempted to write this?

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.

-- 
/\ Hidetoshi Shimokawa
\/  simokawa@sat.t.u-tokyo.ac.jp
PGP public key: finger -l simokawa@sat.t.u-tokyo.ac.jp


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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