summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.exelib
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2010-02-18 14:45:39 -0500
committerFrank Ch. Eigler <fche@elastic.org>2010-02-18 14:45:39 -0500
commit215c7a01b0d88eae2b0e3529412f3d95525b8ede (patch)
tree285e4195ef1ede518616bb47e10be2fd16418650 /testsuite/systemtap.exelib
parent5b8e1e3b252c97bc8100f2ef943b812f842b8adb (diff)
downloadsystemtap-steved-215c7a01b0d88eae2b0e3529412f3d95525b8ede.tar.gz
systemtap-steved-215c7a01b0d88eae2b0e3529412f3d95525b8ede.tar.xz
systemtap-steved-215c7a01b0d88eae2b0e3529412f3d95525b8ede.zip
PR11296: switch to "sys/sdt.h" in test cases
Diffstat (limited to 'testsuite/systemtap.exelib')
-rw-r--r--testsuite/systemtap.exelib/exelib.exp2
-rw-r--r--testsuite/systemtap.exelib/uprobes_exe.c2
-rw-r--r--testsuite/systemtap.exelib/uprobes_lib.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/systemtap.exelib/exelib.exp b/testsuite/systemtap.exelib/exelib.exp
index 1337d545..14914570 100644
--- a/testsuite/systemtap.exelib/exelib.exp
+++ b/testsuite/systemtap.exelib/exelib.exp
@@ -80,7 +80,7 @@ foreach arch $arches {
# General compiler flags
# We want the sdt.h from the source dir.
- set testflags "additional_flags=-I$srcdir/../includes/sys"
+ set testflags "additional_flags=-I$srcdir/../includes"
# For now we always require debuginfo
set testflags "$testflags additional_flags=-g"
if {$arch != "default"} {
diff --git a/testsuite/systemtap.exelib/uprobes_exe.c b/testsuite/systemtap.exelib/uprobes_exe.c
index da65efa7..6aac2bf5 100644
--- a/testsuite/systemtap.exelib/uprobes_exe.c
+++ b/testsuite/systemtap.exelib/uprobes_exe.c
@@ -7,7 +7,7 @@
* later version.
*/
-#include "sdt.h" /* Really <sys/sdt.h>, but pick current source version. */
+#include "sys/sdt.h"
// function from our library
int lib_main (void);
diff --git a/testsuite/systemtap.exelib/uprobes_lib.c b/testsuite/systemtap.exelib/uprobes_lib.c
index e3416d17..79213025 100644
--- a/testsuite/systemtap.exelib/uprobes_lib.c
+++ b/testsuite/systemtap.exelib/uprobes_lib.c
@@ -7,7 +7,7 @@
* later version.
*/
-#include "sdt.h" /* Really <sys/sdt.h>, but pick current source version. */
+#include "sys/sdt.h"
// volatile static variable to prevent folding of lib_func
static volatile int foo;