summaryrefslogtreecommitdiffstats
path: root/testsuite/semok
diff options
context:
space:
mode:
authorPrerna <prerna@linux.vnet.ibm.com>2008-09-25 14:25:40 +0530
committerprerna <prerna@PS.(none)>2008-09-25 14:25:40 +0530
commit4b3b2cc7d334e9fa525dc54d9a5c03f48fc99f07 (patch)
tree5b29fae62a5caca472cb1d9451c2fbaff141c20b /testsuite/semok
parentc2581b3dabc520e9392e97ef6041ae928f99e927 (diff)
downloadsystemtap-steved-4b3b2cc7d334e9fa525dc54d9a5c03f48fc99f07.tar.gz
systemtap-steved-4b3b2cc7d334e9fa525dc54d9a5c03f48fc99f07.tar.xz
systemtap-steved-4b3b2cc7d334e9fa525dc54d9a5c03f48fc99f07.zip
Handling members with anonymous structs / unions
Diffstat (limited to 'testsuite/semok')
-rwxr-xr-xtestsuite/semok/thirtythree.stp4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/semok/thirtythree.stp b/testsuite/semok/thirtythree.stp
new file mode 100755
index 00000000..3c23ab1c
--- /dev/null
+++ b/testsuite/semok/thirtythree.stp
@@ -0,0 +1,4 @@
+#!/bin/sh
+# Per bz3016, this should get through the semantic pass without warnings.
+stap -p2 -e 'probe kernel.function("do_mpage_readpage") { printf("\n page ->inuse %u",$page->inuse);exit();}'
+exit 0