2019-12-25 17:29:45 +08:00
|
|
|
Name: blktrace
|
2019-09-30 10:32:35 -04:00
|
|
|
Version: 1.2.0
|
2020-09-10 15:39:37 +08:00
|
|
|
Release: 16
|
2019-09-30 10:32:35 -04:00
|
|
|
Summary: Block IO tracer in the Linux kernel
|
|
|
|
|
License: GPLv2+
|
|
|
|
|
Source: http://brick.kernel.dk/snaps/blktrace-%{version}.tar.bz2
|
2020-02-25 16:31:26 +08:00
|
|
|
URL: https://git.kernel.dk/cgit/blktrace
|
2019-09-30 10:32:35 -04:00
|
|
|
|
2020-03-21 19:33:05 +08:00
|
|
|
BuildRequires: gcc, git, xz, libaio-devel, python3, librsvg2-devel blktrace sysstat theora-tools gdb
|
2020-02-06 13:58:08 +08:00
|
|
|
Requires: python3
|
2019-09-30 10:32:35 -04:00
|
|
|
|
2020-07-12 17:29:46 +08:00
|
|
|
Patch1: 0001-jhash-fix-annoying-gcc-fall-through-warnings.patch
|
|
|
|
|
Patch2: 0002-btt-devs-silence-warning-on-sprintf-overflow.patch
|
|
|
|
|
Patch3: 0003-btt-Fix-overlapping-IO-stats.patch
|
|
|
|
|
Patch4: 0004-blktrace-don-t-stop-tracer-if-not-setup-trace-succes.patch
|
|
|
|
|
Patch5: 0005-blkparse-remove-duplicated-entry-for-flag-M.patch
|
|
|
|
|
Patch6: 0006-btt-make-device-devno-use-PATH_MAX-to-avoid-overflow.patch
|
|
|
|
|
Patch7: 0007-make-btt-scripts-python3-ready.patch
|
|
|
|
|
Patch8: 0008-blktrace-remove-python2-dedpendency.patch
|
|
|
|
|
Patch9: 0009-btreplay-fix-device-IO-remap-functionality.patch
|
|
|
|
|
Patch10: 0010-blkparse-split-off-the-timestamp-correction-code-in-.patch
|
|
|
|
|
Patch11: 0011-blkparse-fix-absolute-timestamp-when-reading-from-fi.patch
|
|
|
|
|
Patch12: 0012-btt_plot.py-Use-with-open-as-.-context-manager.patch
|
|
|
|
|
Patch13: 0013-blkparse-Fix-device-in-event-tracking-error-messages.patch
|
|
|
|
|
Patch14: 0014-blkparse-Allow-request-tracking-on-non-md-dm-devices.patch
|
|
|
|
|
Patch15: 0015-blkparse-Initialize-and-test-for-undefined-request-t.patch
|
2019-09-30 10:32:35 -04:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
blktrace is a block layer IO tracing mechanism which provides detailed
|
|
|
|
|
information about request queue operations up to user space. This is
|
|
|
|
|
valuable for diagnosing and fixing performance or application problems
|
|
|
|
|
relating to block layer io.
|
|
|
|
|
|
|
|
|
|
%package help
|
|
|
|
|
Summary: Including man files for blktrace
|
|
|
|
|
Requires: man
|
|
|
|
|
|
|
|
|
|
%description help
|
|
|
|
|
This contains man files for the using of blktrace.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -Sgit -n %{name}-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
2020-03-21 21:49:26 +08:00
|
|
|
%make_build -j1 all
|
2019-09-30 10:32:35 -04:00
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make dest=%{buildroot} prefix=%{buildroot}/%{_prefix} mandir=%{buildroot}/%{_mandir} install
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%doc README COPYING
|
2020-09-10 15:39:37 +08:00
|
|
|
%{_bindir}/blkparse
|
|
|
|
|
%{_bindir}/blkrawverify
|
|
|
|
|
%{_bindir}/bno_plot.py
|
|
|
|
|
%{_bindir}/btt
|
|
|
|
|
%{_bindir}/verify_blkparse
|
|
|
|
|
%{_bindir}/blkiomon
|
|
|
|
|
%{_bindir}/blktrace
|
|
|
|
|
%{_bindir}/btrace
|
|
|
|
|
%{_bindir}/btrecord
|
|
|
|
|
%{_bindir}/btreplay
|
|
|
|
|
|
2019-09-30 10:32:35 -04:00
|
|
|
|
|
|
|
|
%files help
|
2020-09-10 15:39:37 +08:00
|
|
|
%{_mandir}/man1/blkparse.*
|
|
|
|
|
%{_mandir}/man1/blkrawverify.*
|
|
|
|
|
%{_mandir}/man1/bno_plot.*
|
|
|
|
|
%{_mandir}/man1/btt.*
|
|
|
|
|
%{_mandir}/man1/verify_blkparse.*
|
|
|
|
|
%{_mandir}/man8/blkiomon.*
|
|
|
|
|
%{_mandir}/man8/blktrace.*
|
|
|
|
|
%{_mandir}/man8/btrace.*
|
|
|
|
|
%{_mandir}/man8/btrecord.*
|
|
|
|
|
%{_mandir}/man8/btreplay.*
|
|
|
|
|
|
|
|
|
|
%package -n iowatcher
|
|
|
|
|
Summary: Utility for visualizing block layer IO patterns and performance
|
|
|
|
|
Requires: blktrace sysstat theora-tools
|
|
|
|
|
|
|
|
|
|
%description -n iowatcher
|
|
|
|
|
iowatcher can plot multiple blktrace runs together,
|
|
|
|
|
comparing the differences between different benchmark runs.
|
|
|
|
|
|
|
|
|
|
%files -n iowatcher
|
|
|
|
|
%doc README iowatcher/COPYING
|
|
|
|
|
%{_bindir}/iowatcher
|
|
|
|
|
%{_mandir}/man1/iowatcher.*
|
2019-09-30 10:32:35 -04:00
|
|
|
|
|
|
|
|
%changelog
|
2020-09-10 15:39:37 +08:00
|
|
|
* Thu Sep 10 2020 lihaotian <lihaotian9@huawei.com> - 1.2.0-16
|
|
|
|
|
- create iowatcher rpm sub-package
|
|
|
|
|
|
2020-07-12 17:29:46 +08:00
|
|
|
* Sun Jul 12 2020 Zhiqiang Liu <liuzhiqiang26@huawei.com> - 1.2.0-15
|
|
|
|
|
- backport upstream patches
|
|
|
|
|
|
2020-07-01 15:30:40 +08:00
|
|
|
* Wed Jul 1 2020 Wu Bo <wubo009@163.com> - 1.2.0-14
|
|
|
|
|
- rebuild package
|
|
|
|
|
|
2020-03-18 19:33:45 +08:00
|
|
|
* Wed Mar 18 2020 sunshihao<sunshihao@huawei.com> - 1.2.0-13
|
|
|
|
|
- Type:enhancemnet
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:restart
|
|
|
|
|
- DESCi:modify python2 expression to python3
|
|
|
|
|
|
2020-02-25 16:31:26 +08:00
|
|
|
* Tue Feb 25 2020 hy-euler <eulerstoragemt@huawei.com> - 1.2.0-12
|
|
|
|
|
- Type:enhancemnet
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:restart
|
|
|
|
|
- DESC:modify the URL to git web in spec file
|
|
|
|
|
|
2020-02-17 10:10:18 +08:00
|
|
|
* Mon Feb 17 2020 sunshihao<sunshihao@huawei.com> - 1.2.0-11
|
2020-02-06 13:58:08 +08:00
|
|
|
- Type:enhancemnet
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:restart
|
2020-02-25 16:31:26 +08:00
|
|
|
- DESC:blktrace remove python2 dependency
|
2020-02-06 13:58:08 +08:00
|
|
|
|
2019-09-30 10:32:35 -04:00
|
|
|
* Fri Aug 30 2019 zoujing<zoujing13@huawei.com> - 1.2.0-10
|
|
|
|
|
- Type:enhancemnet
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:restart
|
2020-02-25 16:31:26 +08:00
|
|
|
- DESC:openEuler Debranding
|
2019-09-30 10:32:35 -04:00
|
|
|
|
|
|
|
|
* Thu Aug 15 2019 Buildteam <buildteam@openeuler.org> - 1.2.0-9
|
|
|
|
|
- Package Initialization
|
|
|
|
|
|