forked from pool/systemtap
af8494b7bc
Copy from home:vuntz:branches:devel:tools/systemtap via accept of submit request 43603 revision 2. Request was accepted with message: Reviewed ok OBS-URL: https://build.opensuse.org/request/show/43603 OBS-URL: https://build.opensuse.org/package/show/devel:tools/systemtap?expand=0&rev=12
25 lines
729 B
Diff
25 lines
729 B
Diff
---
|
|
tapset/ioblock.stp | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
--- a/tapset/ioblock.stp
|
|
+++ b/tapset/ioblock.stp
|
|
@@ -118,7 +118,7 @@ probe ioblock.request = kernel.function
|
|
vcnt = $bio->bi_vcnt
|
|
idx = $bio->bi_idx
|
|
phys_segments = $bio->bi_phys_segments
|
|
-%(kernel_v < "2.6.28" %?
|
|
+%(kernel_v < "2.6.27" %?
|
|
hw_segments = $bio->bi_hw_segments
|
|
%)
|
|
size = $bio->bi_size
|
|
@@ -169,7 +169,7 @@ probe ioblock.end = kernel.function("bio
|
|
vcnt = $bio->bi_vcnt
|
|
idx = $bio->bi_idx
|
|
phys_segments = $bio->bi_phys_segments
|
|
-%(kernel_v < "2.6.28" %?
|
|
+%(kernel_v < "2.6.27" %?
|
|
hw_segments = $bio->bi_hw_segments
|
|
%)
|
|
size = $bio->bi_size
|