summaryrefslogtreecommitdiffstats
path: root/testsuite/buildok/twenty.stp
diff options
context:
space:
mode:
authorfche <fche>2007-03-20 16:24:37 +0000
committerfche <fche>2007-03-20 16:24:37 +0000
commite2aab9d6fda09124155685b35c827cdd557fec01 (patch)
tree10940b5ba712ac285609ffa24ea73baabecbe948 /testsuite/buildok/twenty.stp
parent9956e5fcfbe5a62cea97e542dfc828c3be09eeb4 (diff)
downloadsystemtap-steved-e2aab9d6fda09124155685b35c827cdd557fec01.tar.gz
systemtap-steved-e2aab9d6fda09124155685b35c827cdd557fec01.tar.xz
systemtap-steved-e2aab9d6fda09124155685b35c827cdd557fec01.zip
2007-03-09 Pierre Peiffer <pierre.peiffer@bull.net>
* buildok/twenty.stp, semok/seventeen.stp: Adapt to kernel 2.6.20.
Diffstat (limited to 'testsuite/buildok/twenty.stp')
-rwxr-xr-xtestsuite/buildok/twenty.stp4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/buildok/twenty.stp b/testsuite/buildok/twenty.stp
index aa6287c4..e7db8227 100755
--- a/testsuite/buildok/twenty.stp
+++ b/testsuite/buildok/twenty.stp
@@ -4,5 +4,9 @@
probe kernel.function("vfs_readdir")
{
+%( kernel_v >= "2.6.20" %?
+ $file->f_path->dentry->d_name->len = 1
+%:
$file->f_dentry->d_name->len = 1
+%)
}