search for: conn_rec

Displaying 2 results from an estimated 2 matches for "conn_rec".

2005 Nov 22
6
DTrace #include problems
...veral scripts to use application defined types, and am running into a few issues. When I attempt to run a script with a application defined type, it looks like the DTrace preprocessor is getting angry with me: $ cat view.d #include "httpd.h" :::acceptconnection { this->addr = (conn_rec *)copyin(arg0,sizeof(conn_rec *)); } $ dtrace -C -I/tmp/apache/include -s view.d dtrace: failed to compile script view.d: "/tmp/apache/include/apr_thread_mutex.h", line 100: syntax error near "#" At first I thought there was an issue with the header files, so I ran CPP by ha...
2009 Feb 11
8
how to get DTrace to use the same structure field alignment as C?
Is there a pragma to turn off padding or some other mechanism besides dummying up fields to make them char[] to disable padding? Thanks!