From owner-freebsd-fs@FreeBSD.ORG Thu Jul 29 14:22:26 2004 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D7C2116A4CE; Thu, 29 Jul 2004 14:22:26 +0000 (GMT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 453F043D5F; Thu, 29 Jul 2004 14:22:24 +0000 (GMT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.11/8.12.11) with ESMTP id i6TELHML047388; Thu, 29 Jul 2004 10:21:17 -0400 (EDT) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)i6TELGsi047385; Thu, 29 Jul 2004 10:21:16 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Thu, 29 Jul 2004 10:21:15 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Scott Long In-Reply-To: <20040729081254.M32601@pooker.samsco.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-fs@freebsd.org cc: ravi Subject: Re: regarding pseudofs in FreeBSD X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jul 2004 14:22:27 -0000 On Thu, 29 Jul 2004, Scott Long wrote: > On Wed, 28 Jul 2004, ravi wrote: > > Hi, > > > > As I've already told u in the previous mail , I've extended the liprocfs > > by creating my own proc entries (which are not related to any process ) > > . And I'm storing some data in the sb ( which is a pointer to sbuf > > structure ) using my handler function for these entries . I want to make > > this data to be accessed from the gcov tool when I run the gcov command > > from the terminal . > > > > Please tell me how this can be done ? > > I'm not exactly sure what the gcov command is. Can you explain exactly > what you are trying to do and what isn't working at the moment? I believe that coverage in the kernel can be measured by enabling kernel profiling, and then using the kernbb(8) tool to dump the profile buffers into a form that can be used by gcov(1). The man pages for kernbb(8) and kgmon(8) should have the necessary details. They require a kernel configured for profiling, and details should be in there and config(8). Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Principal Research Scientist, McAfee Research