summaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
authorddomingo <ddomingo@redhat.com>2008-10-02 23:26:24 +1000
committerddomingo <ddomingo@redhat.com>2008-10-02 23:26:24 +1000
commit06af1f31b5cf2eacfee45d780d59059f56270a55 (patch)
tree0ca2c98fbd1f094553e9eefc6cf1ab7a75a1eb18 /testsuite
parent4125a78ae5fc99abb8606bf0eda2a08b3e2d300c (diff)
parentcaf566cb319004a314b09ea6fd6781941db89f8e (diff)
downloadsystemtap-steved-06af1f31b5cf2eacfee45d780d59059f56270a55.tar.gz
systemtap-steved-06af1f31b5cf2eacfee45d780d59059f56270a55.tar.xz
systemtap-steved-06af1f31b5cf2eacfee45d780d59059f56270a55.zip
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/ChangeLog5
-rwxr-xr-xtestsuite/semok/thirtythree.stp2
-rw-r--r--testsuite/systemtap.base/optim_arridx.exp2
3 files changed, 7 insertions, 2 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)
}
diff --git a/testsuite/systemtap.base/optim_arridx.exp b/testsuite/systemtap.base/optim_arridx.exp
index bef4d2b4..1f3f4371 100644
--- a/testsuite/systemtap.base/optim_arridx.exp
+++ b/testsuite/systemtap.base/optim_arridx.exp
@@ -58,7 +58,7 @@ end /* <- end */
# locals
idx0:long
{
-foreach ([idx0] in arr3) printf("arr3[%#d]=%#x\\n", idx0, arr3[idx0])
+foreach ([idx0] in arr3-) printf("arr3[%#d]=%#x\\n", idx0, arr3[idx0])
}
end /* <- end */
{