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

From: Dag-Erling Smørgrav <des_at_des.no>
Date: Mon, 01 Dec 2008 18:50:43 +0100
"Marius Nünnerich" <marius_at_nuenneri.ch> writes:
> Tim Kientzle <kientzle_at_freebsd.org> wrote:
> > Seems that SDT_PROBE() should be using C99s "variadic macro"
> > feature.
> Is the kernel compiled in C99 mode?

No, but it is compiled using a compiler that supports variadic macros
and has for many years (even before C99), and variadic macros are
already used in many places, including GEOM, ZFS and WITNESS.

DES
-- 
Dag-Erling Smørgrav - des_at_des.no
Received on Mon Dec 01 2008 - 16:50:45 UTC

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