(see also 
http://www.nabble.com/DTrace-compatible-request_rec-for-Solaris-and-Leopard-to22003148.html)

As I mentioned in the dev at httpd post:  Any thoughts on having field 
offsets instead of structure definitions available to scripts, in case 
the former can be provided in a more maintainable manner?

In case it helps anyone, here is a mapping similar to what was posted to 
dev at httpd, but which works with OpenSolaris 2008.11-delivered Apache2.2, 
32-bit and 64-bit.  (I anticipate that it will work with GlassFish Web 
Stack on Solaris 10/x86 as well, but it probably needs a few tweaks on 
SPARC.)  FWIW, this is ever so slightly different than a mapping for a 
normal Apache 2.2 build, as it has "long long" for apr_ino_t, resulting 
in a different 32-bit build.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: httpd_dtrace.h
Type: text/x-chdr
Size: 7769 bytes
Desc: not available
URL: 
<http://mail.opensolaris.org/pipermail/webstack-discuss/attachments/20090213/2b78776d/attachment.bin>

Reply via email to