summaryrefslogtreecommitdiffstats
path: root/testsuite/semok/cast.stp
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2009-04-21 12:08:42 -0700
committerJosh Stone <jistone@redhat.com>2009-04-21 12:34:43 -0700
commitd90053e72a515371936e10bf83ecb822aec91b17 (patch)
tree4589b3f1e0cb79b47d7d02c0eb49ac97079713fc /testsuite/semok/cast.stp
parent31a0ad65c838d0530b321c75c5b328828daa71ac (diff)
downloadsystemtap-steved-d90053e72a515371936e10bf83ecb822aec91b17.tar.gz
systemtap-steved-d90053e72a515371936e10bf83ecb822aec91b17.tar.xz
systemtap-steved-d90053e72a515371936e10bf83ecb822aec91b17.zip
Refine the @cast-with-header syntax
The special syntax to generate a module for type information is now: - "kernel<path/to/header.h>" to use the kernel's build environment - "<path/to/header.h>" to use no special build environment, and so use gcc's default parameters only (for user mode).
Diffstat (limited to 'testsuite/semok/cast.stp')
-rwxr-xr-xtestsuite/semok/cast.stp4
1 files changed, 2 insertions, 2 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)
}