Fix: check for dtrace and sdt.h before enabling SDT uprobe tests
authorMichael Jeanson <mjeanson@efficios.com>
Thu, 31 Oct 2019 20:12:46 +0000 (16:12 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 5 Nov 2019 03:29:26 +0000 (22:29 -0500)
commitc789d1bea908e474f3db1fe65160011057218ca8
tree8998e5ffb994bec4342ce51dbfecb086a246d71d
parentc9b95901694142be2fada10de730b46b3b138b84
Fix: check for dtrace and sdt.h before enabling SDT uprobe tests

Add a configure switch '--enable-sdt-uprobe / --disable-sdt-uprobe', the
default behavior of enabling the test if the requirements are found is
kept but it's now possible to explicitly disable it.

Also add the detection of the dtrace binary and its override trough the
DTRACE environment variable.

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
configure.ac
tests/utils/testapp/Makefile.am
tests/utils/testapp/userspace-probe-sdt-binary/Makefile.am
This page took 0.028385 seconds and 4 git commands to generate.