Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Nov 2008 17:21:26 +0100
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Ivan Voras <ivoras@freebsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: HOWTO in wiki: adding custom dtrace probes in the kernel
Message-ID:  <20081128172126.453467ea7w6jb5c8@webmail.leidinger.net>
In-Reply-To: <ggp10c$pdt$1@ger.gmane.org>
References:  <20081128154514.82247fe47bn83lkw@webmail.leidinger.net> <ggp10c$pdt$1@ger.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Ivan Voras <ivoras@freebsd.org> (from Fri, 28 Nov 2008  
15:59:23 +0100):

> Can you document a bit more the construction of the probe:
>
>  SDT_PROBE_DEFINE(foobar, source_file1, foo, entry);
>  SDT_PROBE_ARGTYPE(foobar, source_file1, foo, entry, 0, "int");
>  SDT_PROBE_ARGTYPE(foobar, source_file1, foo, entry, 1, "const char *");
>  SDT_PROBE_DEFINE(foobar, source_file1, foo, return);
>  SDT_PROBE_ARGTYPE(foobar, source_file1, foo, return, 0, "int");
>
> What is the meaning of "source_file1" and "foo"?

In case you reloaded the wiki page and it does not contain a reference  
to GEOM, reload it again. I added GEOM as an example how the module  
name could be constructed.

BTW: Everyone is invited to improve the page.

Bye,
Alexander.

-- 
Money may buy friendship but money cannot buy love.

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?20081128172126.453467ea7w6jb5c8>