Re: DTrace probes broken in HEAD on Solaris? - Mailing list pgsql-hackers

From Martijn van Oosterhout
Subject Re: DTrace probes broken in HEAD on Solaris?
Date
Msg-id 20090324221209.GB24546@svana.org
Whole thread Raw
In response to Re: DTrace probes broken in HEAD on Solaris?  (Greg Stark <stark@enterprisedb.com>)
Responses Re: DTrace probes broken in HEAD on Solaris?
List pgsql-hackers
On Tue, Mar 24, 2009 at 09:49:50PM +0000, Greg Stark wrote:
> I wonder if there's a gcc extension that would let us check if a macro
> parameter is a simple variable or expression. That would let us
> enforce the polilcy strictly at build-time.

Not really a GCC extension, but you could have the macro check that it
can take the address of the arguments, which amounts to almost the same
thing. It only doesn't work on constants.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Please line up in a tree and maintain the heap invariant while
> boarding. Thank you for flying nlogn airlines.

pgsql-hackers by date:

Previous
From: Greg Stark
Date:
Subject: Re: DTrace probes broken in HEAD on Solaris?
Next
From: Greg Stark
Date:
Subject: Re: DTrace probes broken in HEAD on Solaris?