7a01c10dd3
Copy from devel:tools/systemtap based on submit request 34653 from user jones_tony OBS-URL: https://build.opensuse.org/request/show/34653 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemtap?expand=0&rev=50
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
|