Displaying 1 result from an estimated 1 matches for "acceptconnect".
Did you mean:
accept_connect
2005 Nov 22
6
DTrace #include problems
Howdy,
I am trying to migrate several 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 th...