summaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2008-10-01 13:38:16 +0200
committerMark Wielaard <mjw@redhat.com>2008-10-01 13:38:16 +0200
commitdd4918442a55569175bda0575f746e84c99cee58 (patch)
tree4f3a1b3d181e05460e08a4a0843969c7cab87d07 /testsuite
parent94c98493aea16a4ef49b2eff31cf6ca98e92fddc (diff)
downloadsystemtap-steved-dd4918442a55569175bda0575f746e84c99cee58.tar.gz
systemtap-steved-dd4918442a55569175bda0575f746e84c99cee58.tar.xz
systemtap-steved-dd4918442a55569175bda0575f746e84c99cee58.zip
Adjust semok/thirtythree.stp test to pass on older kernels.
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/ChangeLog5
-rwxr-xr-xtestsuite/semok/thirtythree.stp2
2 files changed, 6 insertions, 1 deletions
diff --git a/testsuite/ChangeLog b/testsuite/ChangeLog
index f3fad077..4825cd27 100644
--- a/testsuite/ChangeLog
+++ b/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2008-10-01 Mark Wielaard <mjw@redhat.com>
+
+ * semok/thirtythree.stp: Use page->mapping instead of page->inuse
+ as annonymous struct value (also available in older kernels).
+
2008-09-26 Frank Ch. Eigler <fche@elastic.org>
PR 6916.
diff --git a/testsuite/semok/thirtythree.stp b/testsuite/semok/thirtythree.stp
index d5171f66..90070370 100755
--- a/testsuite/semok/thirtythree.stp
+++ b/testsuite/semok/thirtythree.stp
@@ -1,5 +1,5 @@
#! stap -p2
# Per bz3016, this should get through the semantic pass without warnings.
probe kernel.function("do_mpage_readpage") {
- printf("\n page ->inuse %u",$page->inuse)
+ printf("\n page->mapping %p",$page->mapping)
}