summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2011-10-10 13:26:15 +0100
committerRichard W.M. Jones <rjones@redhat.com>2011-10-10 13:26:15 +0100
commitc155330f04f933d13298d5cddab6b7f3dc9d218f (patch)
tree61d18967a14806cc8c60c4043cb5554b27372816 /configure.ac
parentd6622d7636d592eb1c01fbcb8b8ad52c2b20615b (diff)
downloadlibguestfs-c155330f04f933d13298d5cddab6b7f3dc9d218f.tar.gz
libguestfs-c155330f04f933d13298d5cddab6b7f3dc9d218f.tar.xz
libguestfs-c155330f04f933d13298d5cddab6b7f3dc9d218f.zip
Add systemtap/DTrace probes.
Mainly this is a documentation change. However a sample of DTrace-compatible userspace probes are also added.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 2bd98c67..e0fd7de1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -346,6 +346,11 @@ if test "x$have_libselinux" = "xyes"; then
fi
AC_SUBST([SELINUX_LIB])
+dnl Check for systemtap/DTrace userspace probes (optional).
+dnl http://sourceware.org/systemtap/wiki/AddingUserSpaceProbingToApps
+AC_CHECK_HEADERS([sys/sdt.h])
+dnl AC_CHECK_PROG([DTRACE],[dtrace],[dtrace],[no])
+
dnl Check for cpio which isn't in the default Pardus install amazingly.
AC_CHECK_PROG([CPIO],[cpio],[cpio],[no])
test "x$CPIO" = "xno" &&