summaryrefslogtreecommitdiffstats
path: root/tapset/vfs.stp
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2008-09-15 21:17:59 +0200
committerMark Wielaard <mjw@redhat.com>2008-09-15 21:17:59 +0200
commitfc22e8a361f3c19dcb048dc5f245565164b9d829 (patch)
tree957c1af8e11a9caf6d32f058eda44c249286e578 /tapset/vfs.stp
parent6d24a6c909520290b1c508ae1624a218f19e93f1 (diff)
downloadsystemtap-steved-fc22e8a361f3c19dcb048dc5f245565164b9d829.tar.gz
systemtap-steved-fc22e8a361f3c19dcb048dc5f245565164b9d829.tar.xz
systemtap-steved-fc22e8a361f3c19dcb048dc5f245565164b9d829.zip
Fix 2.6.27 detection.
Diffstat (limited to 'tapset/vfs.stp')
-rw-r--r--tapset/vfs.stp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tapset/vfs.stp b/tapset/vfs.stp
index 1ea8fc8e..7f2312db 100644
--- a/tapset/vfs.stp
+++ b/tapset/vfs.stp
@@ -744,7 +744,7 @@ probe vfs.do_mpage_readpage.return = kernel.function ("do_mpage_readpage").retur
units = "pages"
}
-%( kernel_v > "2.6.26" %?
+%( kernel_v >= "2.6.27" %?
probe vfs.add_to_page_cache = kernel.function ("add_to_page_cache_locked")
%:
probe vfs.add_to_page_cache = kernel.function ("add_to_page_cache")
@@ -761,7 +761,7 @@ probe vfs.add_to_page_cache = kernel.function ("add_to_page_cache")
argstr = sprintf("%d, %d", ino, index)
}
-%( kernel_v > "2.6.26" %?
+%( kernel_v >= "2.6.27" %?
probe vfs.add_to_page_cache.return = kernel.function ("add_to_page_cache_locked").return
%:
probe vfs.add_to_page_cache.return = kernel.function ("add_to_page_cache").return