Displaying 1 result from an estimated 1 matches for "apr_thread_mutex".
2005 Nov 22
6
DTrace #include problems
...ke 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 hand to generate a header file to include:
$ cat test.c
#include "httpd.h"
$ cpp -I/tmp/apache/include test.c > http.h
$ cat view.d
#include "http.h...