This commit is contained in:
parent
b094a811d3
commit
73a610e6a9
21
systemtap-ioblock-fix.diff
Normal file
21
systemtap-ioblock-fix.diff
Normal file
@ -0,0 +1,21 @@
|
||||
--- tapset/ioblock.stp-dist 2008-12-04 18:02:22.000000000 +0100
|
||||
+++ tapset/ioblock.stp 2008-12-04 18:03:54.000000000 +0100
|
||||
@@ -122,7 +122,9 @@
|
||||
vcnt = $bio->bi_vcnt
|
||||
idx = $bio->bi_idx
|
||||
phys_segments = $bio->bi_phys_segments
|
||||
+%(kernel_v < "2.6.27" %?
|
||||
hw_segments = $bio->bi_hw_segments
|
||||
+%)
|
||||
size = $bio->bi_size
|
||||
|
||||
bdev = $bio->bi_bdev
|
||||
@@ -176,6 +178,8 @@
|
||||
vcnt = $bio->bi_vcnt
|
||||
idx = $bio->bi_idx
|
||||
phys_segments = $bio->bi_phys_segments
|
||||
+%(kernel_v < "2.6.27" %?
|
||||
hw_segments = $bio->bi_hw_segments
|
||||
+%)
|
||||
size = $bio->bi_size
|
||||
}
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 4 18:08:23 CET 2008 - tiwai@suse.de
|
||||
|
||||
- fix ioblock.stp for SUSE 2.6.27.x kernel (bnc#456175)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 21 14:09:21 CET 2008 - tiwai@suse.de
|
||||
|
||||
|
@ -25,7 +25,7 @@ BuildRequires: latex2html
|
||||
%define package_version 20080906
|
||||
License: GPL v2 or later
|
||||
Version: 0.7.1
|
||||
Release: 25
|
||||
Release: 26
|
||||
Summary: Instrumentation System
|
||||
Group: Development/Tools/Debuggers
|
||||
Url: http://sourceware.org/systemtap/
|
||||
@ -36,6 +36,7 @@ Patch: systemtap-docdir-fix.diff
|
||||
Patch1: systemtap-old-autoconf-fix.diff
|
||||
Patch2: stap-fix-dump_unwindsyms.patch
|
||||
Patch3: systemtap-parameter-bound-check.diff
|
||||
Patch4: systemtap-ioblock-fix.diff
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@ -61,6 +62,7 @@ Authors:
|
||||
%endif
|
||||
%patch2 -p1
|
||||
%patch3
|
||||
%patch4
|
||||
|
||||
%build
|
||||
autoreconf -fi
|
||||
@ -85,6 +87,8 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||
%dir %attr(0755,root,root) /var/cache/systemtap
|
||||
|
||||
%changelog
|
||||
* Thu Dec 04 2008 tiwai@suse.de
|
||||
- fix ioblock.stp for SUSE 2.6.27.x kernel (bnc#456175)
|
||||
* Fri Nov 21 2008 tiwai@suse.de
|
||||
- Add the bound check of parameters to fix segfault (bnc#447551)
|
||||
* Tue Nov 04 2008 tiwai@suse.de
|
||||
|
Loading…
Reference in New Issue
Block a user