Date: Fri, 28 Nov 2008 19:47:21 +0100 From: "=?ISO-8859-1?Q?Marius_N=FCnnerich?=" <marius@nuenneri.ch> To: "Alexander Leidinger" <Alexander@leidinger.net> Cc: freebsd-current@freebsd.org, Ivan Voras <ivoras@freebsd.org> Subject: Re: HOWTO in wiki: adding custom dtrace probes in the kernel Message-ID: <b649e5e0811281047y2401f9adhdb35e3ba8b7aa106@mail.gmail.com> In-Reply-To: <20081128172126.453467ea7w6jb5c8@webmail.leidinger.net> References: <20081128154514.82247fe47bn83lkw@webmail.leidinger.net> <ggp10c$pdt$1@ger.gmane.org> <20081128172126.453467ea7w6jb5c8@webmail.leidinger.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Nov 28, 2008 at 5:21 PM, Alexander Leidinger <Alexander@leidinger.net> wrote: > 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. What is the intention of adding function entry and return providers with SDT? Isn't that what FBT is for?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b649e5e0811281047y2401f9adhdb35e3ba8b7aa106>