summaryrefslogtreecommitdiffstats
path: root/testsuite/semok
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2009-04-20 17:18:32 -0700
committerJosh Stone <jistone@redhat.com>2009-04-20 17:18:32 -0700
commit219b3700b8603b6fe3610d6f06e353f3c041ee0b (patch)
treeb84d02cdcc07c3da3ce121ed4e1580128660fc17 /testsuite/semok
parent2ca818756fff583220c238cf344add80b71f7f8c (diff)
downloadsystemtap-steved-219b3700b8603b6fe3610d6f06e353f3c041ee0b.tar.gz
systemtap-steved-219b3700b8603b6fe3610d6f06e353f3c041ee0b.tar.xz
systemtap-steved-219b3700b8603b6fe3610d6f06e353f3c041ee0b.zip
Add tests for @cast-generated modules
Diffstat (limited to 'testsuite/semok')
-rwxr-xr-xtestsuite/semok/cast.stp4
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)
}