diff options
Diffstat (limited to 'testsuite/systemtap.exelib')
-rw-r--r-- | testsuite/systemtap.exelib/exelib.exp | 2 | ||||
-rw-r--r-- | testsuite/systemtap.exelib/uprobes_exe.c | 2 | ||||
-rw-r--r-- | testsuite/systemtap.exelib/uprobes_lib.c | 2 |
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; |