Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Aug 2009 08:17:40 +0200
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        "Daniel O'Connor" <doconnor@gsoft.com.au>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: DTrace probes & klds
Message-ID:  <20090820081740.436656fu6d4fxoso@webmail.leidinger.net>
In-Reply-To: <200908192331.34507.doconnor@gsoft.com.au>
References:  <200908192331.34507.doconnor@gsoft.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Daniel O'Connor <doconnor@gsoft.com.au> (from Wed, 19 Aug 2009  
23:31:33 +0930):

> Content-Type: text/plain;
>   charset="utf-8"
> Content-Transfer-Encoding: quoted-printable
> Content-Disposition: inline
>
> Is it possible? the handbook implies not and I can't get it to work, but
> i could be doing it wrong..
>
> I get fbt traces listed for KLDs (I get new entries for each load of the
> KLD which seems like a potential problem) but I can't specify an
> SDT_PROBE and have it work.

Can you show us some example code?

In  
http://svn.freebsd.org/viewvc/base/user/netchild/linuxulator-dtrace/src/sys/compat/linux/linux_emul.c?revision=185383&view=markup I have code which worked at least at some point in time when loaded as a  
KLD.

Bye,
Alexander.

-- 
A vacuum is a hell of a lot better
than some of the stuff that nature replaces it with.
		-- Tennessee Williams

http://www.Leidinger.net    Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID = 72077137



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