Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Dec 2008 23:22:48 +0100
From:      Roman Divacky <rdivacky@freebsd.org>
To:        Dag-Erling Sm??rgrav <des@des.no>
Cc:        Alexander Leidinger <Alexander@leidinger.net>, Marius N??nnerich <marius@nuenneri.ch>, 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:  <20081201222248.GA99892@freebsd.org>
In-Reply-To: <86iqq3pyx8.fsf@ds4.des.no>
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> <86iqq3pyx8.fsf@ds4.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Dec 01, 2008 at 06:50:43PM +0100, Dag-Erling Sm??rgrav wrote:
> "Marius N??nnerich" <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.

are you sure? I am seeing -std=c99 in the kernel build. check 
sys/conf/kern.pre.mk. it has been introduced more than 2 years
ago in rev 1.75 of kern.pre.mk if I read it correctly.

roman



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