diff options
Diffstat (limited to 'testsuite')
-rwxr-xr-x | testsuite/semok/cast.stp | 4 | ||||
-rw-r--r-- | testsuite/systemtap.base/cast.stp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/testsuite/semok/cast.stp b/testsuite/semok/cast.stp index d30823cd..769335f2 100755 --- a/testsuite/semok/cast.stp +++ b/testsuite/semok/cast.stp @@ -12,6 +12,6 @@ probe begin { // but who knows what debuginfo is installed... // check modules generated from headers - println(@cast(0, "task_struct", "kmod<linux/sched.h>")->tgid) - println(@cast(0, "timeval", "umod<sys/time.h>")->tv_sec) + println(@cast(0, "task_struct", "kernel<linux/sched.h>")->tgid) + println(@cast(0, "timeval", "<sys/time.h>")->tv_sec) } diff --git a/testsuite/systemtap.base/cast.stp b/testsuite/systemtap.base/cast.stp index 33a14a28..6298a06d 100644 --- a/testsuite/systemtap.base/cast.stp +++ b/testsuite/systemtap.base/cast.stp @@ -11,7 +11,7 @@ probe begin printf("PID %d != %d\n", pid, cast_pid) // Compare PIDs using a generated kernel module - cast_pid = @cast(curr, "task_struct", "kmod<linux/sched.h>")->tgid + cast_pid = @cast(curr, "task_struct", "kernel<linux/sched.h>")->tgid if (pid == cast_pid) println("PID2 OK") else @@ -27,7 +27,7 @@ probe begin // Compare tv_sec using a generated user module sec = 42 - cast_sec = @cast(get_timeval(sec), "timeval", "umod<sys/time.h>")->tv_sec + cast_sec = @cast(get_timeval(sec), "timeval", "<sys/time.h>")->tv_sec if (sec == cast_sec) println("tv_sec OK") else |