diff options
Diffstat (limited to 'testsuite/semok/cast.stp')
-rwxr-xr-x | testsuite/semok/cast.stp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/semok/cast.stp b/testsuite/semok/cast.stp index 93da18ef..d30823cd 100755 --- a/testsuite/semok/cast.stp +++ b/testsuite/semok/cast.stp @@ -10,4 +10,8 @@ probe begin { // would be nice to test usermode @cast too, // 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) } |