HOWTO in wiki: adding custom dtrace probes in the kernel

Dag-Erling Smørgrav des at des.no
Mon Dec 1 09:50:46 PST 2008


"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


More information about the freebsd-current mailing list