summaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
authormmason <mmason>2007-07-25 18:35:30 +0000
committermmason <mmason>2007-07-25 18:35:30 +0000
commit7f4d628d6285195e19c692485d21928c85088b45 (patch)
tree1d14970026ec64917ec80850296886835e14d30c /testsuite
parentc0b94269bf35be3ad448dc900dcfdde9c3b149fd (diff)
downloadsystemtap-steved-7f4d628d6285195e19c692485d21928c85088b45.tar.gz
systemtap-steved-7f4d628d6285195e19c692485d21928c85088b45.tar.xz
systemtap-steved-7f4d628d6285195e19c692485d21928c85088b45.zip
Fixes for PR4836.
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/ChangeLog11
-rwxr-xr-xtestsuite/buildok/twentythree.stp6
-rwxr-xr-xtestsuite/buildok/twentytwo.stp4
3 files changed, 15 insertions, 6 deletions
diff --git a/testsuite/ChangeLog b/testsuite/ChangeLog
index 852e6bac..2e7f454c 100644
--- a/testsuite/ChangeLog
+++ b/testsuite/ChangeLog
@@ -1,3 +1,12 @@
+2007-07-25 Mike Mason <mmlnx@us.ibm.com>
+
+ PR 4836
+ * buildok/twentytwo.stp, buildok/twentythree.stp:
+ Changed free_task() probes to deactivate_super() probes. Changed
+ references to timestamp in task_struct to s_maxbytes in super_block.
+ timestamp was removed from task_struct in 2.6.23. s_maxbytes is an
+ unsigned long long in every kernel I checked back to 2.4.18.
+
2007-07-12 David Smith <dsmith@redhat.com>
* systemtap.maps/pmap_agg_overflow.exp: On single processor
@@ -180,7 +189,7 @@
* systemtap.samples/profile.exp Increased timeout from 30 to 60 sec
to fix intermittent failures on s390x.
-2007-0-2 Mike Mason <mmlnx@us.ibm.com>
+2007-04-25 Mike Mason <mmlnx@us.ibm.com>
* buildok/socket.stp: Adapted to changes in 2.6.19 socket routines.
diff --git a/testsuite/buildok/twentythree.stp b/testsuite/buildok/twentythree.stp
index 4aebe7bc..4eba64f4 100755
--- a/testsuite/buildok/twentythree.stp
+++ b/testsuite/buildok/twentythree.stp
@@ -2,8 +2,8 @@
# Test for writing 64-bit target variable, PR 1271
-probe kernel.function("free_task")
+probe kernel.function("deactivate_super")
{
- $tsk->timestamp = 22;
- printf("set to 22 => %d\n", $tsk->timestamp);
+ $s->s_maxbytes = 22;
+ printf("set to 22 => %d\n", $s->s_maxbytes)
}
diff --git a/testsuite/buildok/twentytwo.stp b/testsuite/buildok/twentytwo.stp
index 88a0b57b..ef73ad76 100755
--- a/testsuite/buildok/twentytwo.stp
+++ b/testsuite/buildok/twentytwo.stp
@@ -2,9 +2,9 @@
# Test for reading 64-bit target variable, PR 1271
-probe kernel.function("free_task")
+probe kernel.function("deactivate_super")
{
- printf("timestamp %d\n", $tsk->timestamp)
+ printf("s_maxbytes %d\n", $s->s_maxbytes)
}
probe kernel.function("vfs_llseek")