Re: HOWTO in wiki: adding custom dtrace probes in the kernel

From: Marius Nünnerich <marius_at_nuenneri.ch>
Date: Fri, 28 Nov 2008 19:47:21 +0100
On Fri, Nov 28, 2008 at 5:21 PM, Alexander Leidinger
<Alexander_at_leidinger.net> wrote:
> Quoting Ivan Voras <ivoras_at_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?
Received on Fri Nov 28 2008 - 18:10:37 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:38 UTC