Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jul 2004 10:21:15 -0400 (EDT)
From:      Robert Watson <rwatson@freebsd.org>
To:        Scott Long <scottl@freebsd.org>
Cc:        ravi <ravi.nanjundappa@ap.sony.com>
Subject:   Re: regarding pseudofs in FreeBSD
Message-ID:  <Pine.NEB.3.96L.1040729101953.46374A-100000@fledge.watson.org>
In-Reply-To: <20040729081254.M32601@pooker.samsco.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1040729101953.46374A-100000>