[Dovecot] Apple patches 11-14

Timo Sirainen tss at iki.fi
Wed Jan 7 20:12:04 EET 2009


On Tue, 2009-01-06 at 19:18 -0600, Mike Abbott wrote:
> > I don't see dtrace-dovecot.h included in it.
> 
> dtrace-dovecot.h is generated from dtrace-dovecot.d by the command  
> "dtrace -h -s $(DTRACE_SOURCE)" in src/lib/Makefile.am.  See the  
> section "BUILDING CODE CONTAINING USDT PROBES" in http://developer.apple.com/documentation/Darwin/Reference/ManPages/man1/dtrace.1.html 
>   .  Sorry I should have mentioned that up front.
> 
> > Couldn't the DOVECOT_OD_LOOKUP_START() macro be changed
> 
> Unfortunately that's out of my control:  those macros are generated.   
> But I suppose they could be replaced with an intermediate level of  
> macros that are undefined when not wanted, and combine the enabled- 
> check and the probe-trigger when wanted, just to remove the in-line  
> ifdefs.

PostgreSQL is doing something like this:
http://archives.postgresql.org/pgsql-patches/2008-02/msg00159.php

For example:

	PG_TRACE2(lwlock__startwait, lockid, mode);

Would that be possible with Dovecot too?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20090107/f1f3d144/attachment.bin 


More information about the dovecot mailing list