diff options
Diffstat (limited to 'testsuite/systemtap.exelib/uprobes_exe.c')
-rw-r--r-- | testsuite/systemtap.exelib/uprobes_exe.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuite/systemtap.exelib/uprobes_exe.c b/testsuite/systemtap.exelib/uprobes_exe.c index d2905637..da65efa7 100644 --- a/testsuite/systemtap.exelib/uprobes_exe.c +++ b/testsuite/systemtap.exelib/uprobes_exe.c @@ -7,7 +7,7 @@ * later version. */ -#include <unistd.h> +#include "sdt.h" /* Really <sys/sdt.h>, but pick current source version. */ // function from our library int lib_main (void); @@ -22,6 +22,7 @@ __attribute__((noinline)) main_func (int foo) { asm (""); + STAP_PROBE1(test, main_count, foo); if (foo - bar > 0) bar = main_func (foo - bar); else |