diff options
| author | Andrew Stitcher <astitcher@apache.org> | 2012-02-21 20:16:25 +0000 |
|---|---|---|
| committer | Andrew Stitcher <astitcher@apache.org> | 2012-02-21 20:16:25 +0000 |
| commit | cb3904b70a3ec108be68693389e40eb5933a75e8 (patch) | |
| tree | 0ba41b7ec2ebda1ca33256b96578a5f007a03af3 /cpp/configure.ac | |
| parent | ecaa8b66ef66815476ced76a3c9bf878c5186db3 (diff) | |
| download | qpid-python-cb3904b70a3ec108be68693389e40eb5933a75e8.tar.gz | |
QPID-3862: Static Trace points for System tap / Dtrace
Added framework to allow static probes in DTRACE_PROBE() format
to be added to the qpid code. This will be usable under System Tap for
Linux, and DTrace for Solaris and FreeBSD.
Also included some initial probes into the low level IO code to see how
it performs.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1291981 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/configure.ac')
| -rw-r--r-- | cpp/configure.ac | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/cpp/configure.ac b/cpp/configure.ac index 8729ace169..a3318531bd 100644 --- a/cpp/configure.ac +++ b/cpp/configure.ac @@ -480,6 +480,24 @@ case "$host" in esac AM_CONDITIONAL([SUNOS], [test x$arch = xsolaris]) +# Check whether we've got the header for dtrace static probes +AC_ARG_WITH([probes], + [AS_HELP_STRING([--with-probes], [Build with dtrace/systemtap static probes])], + [case ${withval} in + yes) + AC_CHECK_HEADERS([sys/sdt.h]) + ;; + no) + ;; + *) + AC_MSG_ERROR([Bad value for --with-probes: ${withval}]) + ;; + esac], + [ + AC_CHECK_HEADERS([sys/sdt.h]) + ] +) + # Check for some syslog capabilities not present in all systems AC_TRY_COMPILE([#include <sys/syslog.h>], [int v = LOG_AUTHPRIV;], |
