From 4b3b2cc7d334e9fa525dc54d9a5c03f48fc99f07 Mon Sep 17 00:00:00 2001 From: Prerna Date: Thu, 25 Sep 2008 14:25:40 +0530 Subject: Handling members with anonymous structs / unions --- testsuite/semok/thirtythree.stp | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 testsuite/semok/thirtythree.stp (limited to 'testsuite/semok') 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 -- cgit From 25a632047a89804ffbfe6bb012af632ad4e6bdc1 Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Thu, 25 Sep 2008 09:43:52 -0400 Subject: tweak anon-struct test case and news blurb --- testsuite/semok/thirtythree.stp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'testsuite/semok') diff --git a/testsuite/semok/thirtythree.stp b/testsuite/semok/thirtythree.stp index 3c23ab1c..d5171f66 100755 --- a/testsuite/semok/thirtythree.stp +++ b/testsuite/semok/thirtythree.stp @@ -1,4 +1,5 @@ -#!/bin/sh +#! stap -p2 # 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 +probe kernel.function("do_mpage_readpage") { + printf("\n page ->inuse %u",$page->inuse) +} -- cgit