Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Dec 2008 18:50:43 +0100
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        =?utf-8?Q?Marius_N=C3=BCnnerich?= <marius@nuenneri.ch>
Cc:        Alexander Leidinger <Alexander@leidinger.net>, Tim Kientzle <kientzle@freebsd.org>, Ivan Voras <ivoras@freebsd.org>, freebsd-current@freebsd.org
Subject:   Re: HOWTO in wiki: adding custom dtrace probes in the kernel
Message-ID:  <86iqq3pyx8.fsf@ds4.des.no>
In-Reply-To: <b649e5e0812010934o6647aab2q42ee02f238b2e48f@mail.gmail.com> ("Marius =?utf-8?Q?N=C3=BCnnerich=22's?= message of "Mon, 1 Dec 2008 18:34:49 %2B0100")
References:  <20081128154514.82247fe47bn83lkw@webmail.leidinger.net> <ggp10c$pdt$1@ger.gmane.org> <20081128171243.18141hd28pf4ve00@webmail.leidinger.net> <49304D0E.3030201@freebsd.org> <b649e5e0812010934o6647aab2q42ee02f238b2e48f@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"Marius N=C3=BCnnerich" <marius@nuenneri.ch> writes:
> Tim Kientzle <kientzle@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
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86iqq3pyx8.fsf>