d2b195
Summary: Utilities for performing block layer IO tracing in the Linux kernel
d2b195
Name: blktrace
d2b195
Version: 1.2.0
d2b195
Release: 10%{?dist}
d2b195
License: GPLv2+
d2b195
Group: Development/System
d2b195
Source:  http://brick.kernel.dk/snaps/blktrace-%{version}.tar.bz2
d2b195
Url: http://brick.kernel.dk/snaps
d2b195
d2b195
BuildRequires: python3-devel
d2b195
BuildRequires: gcc, libaio-devel, librsvg2-devel
d2b195
d2b195
Patch0: blktrace-fix-btt-overflow.patch
d2b195
Patch1: blktrace-python3.patch
d2b195
d2b195
%description
d2b195
blktrace is a block layer IO tracing mechanism which provides detailed
d2b195
information about request queue operations to user space.  This package
d2b195
includes both blktrace, a utility which gathers event traces from the kernel;
d2b195
and blkparse, a utility which formats trace data collected by blktrace.
d2b195
d2b195
You should install the blktrace package if you need to gather detailed
d2b195
information about IO patterns.
d2b195
d2b195
d2b195
%prep
d2b195
%setup -q
d2b195
%patch0 -p1
d2b195
%patch1 -p1
d2b195
d2b195
sed -i '1s=^#!/usr/bin/python3=#!%{__python3}=' \
d2b195
    btt/{btt_plot.py,bno_plot.py}
d2b195
d2b195
%build
d2b195
make CFLAGS="%{optflags} %{build_ldflags}" all
d2b195
d2b195
%install
d2b195
rm -rf %{buildroot}
d2b195
make dest=%{buildroot} prefix=%{buildroot}/%{_prefix} mandir=%{buildroot}/%{_mandir} install
d2b195
d2b195
%files
d2b195
%doc README COPYING
d2b195
%{_bindir}/blkparse
d2b195
%{_bindir}/blkrawverify
d2b195
%{_bindir}/bno_plot.py
d2b195
%{_bindir}/btt
d2b195
%{_bindir}/verify_blkparse
d2b195
%{_bindir}/blkiomon
d2b195
%{_bindir}/blktrace
d2b195
%{_bindir}/btrace
d2b195
%{_bindir}/btrecord
d2b195
%{_bindir}/btreplay
d2b195
%{_mandir}/man1/blkparse.*
d2b195
%{_mandir}/man1/blkrawverify.*
d2b195
%{_mandir}/man1/bno_plot.*
d2b195
%{_mandir}/man1/btt.*
d2b195
%{_mandir}/man1/verify_blkparse.*
d2b195
%{_mandir}/man8/blkiomon.*
d2b195
%{_mandir}/man8/blktrace.*
d2b195
%{_mandir}/man8/btrace.*
d2b195
%{_mandir}/man8/btrecord.*
d2b195
%{_mandir}/man8/btreplay.*
d2b195
d2b195
%package -n iowatcher
d2b195
Summary: Utility for visualizing block layer IO patterns and performance
d2b195
Requires: blktrace sysstat theora-tools librsvg2-tools
d2b195
d2b195
%description -n iowatcher
d2b195
iowatcher generates graphs from blktrace runs to help visualize IO patterns and
d2b195
performance as SVG images or movies. It can plot multiple blktrace runs
d2b195
together, making it easy to compare the differences between different benchmark
d2b195
runs.
d2b195
d2b195
You should install the iowatcher package if you need to visualize detailed
d2b195
information about IO patterns.
d2b195
d2b195
%files -n iowatcher
d2b195
%doc README iowatcher/COPYING
d2b195
%{_bindir}/iowatcher
d2b195
%{_mandir}/man1/iowatcher.*
d2b195
d2b195
%changelog
d2b195
* Tue May 14 2019 Eric Sandeen <sandeen@redhat.com> - 1.2.0-10
d2b195
- Add librsvg2-tools dependency to iowatcher (#1700065)
d2b195
d2b195
* Wed Jun 20 2018 Tomas Orsava <torsava@redhat.com> - 1.2.0-9
d2b195
- Switch hardcoded python3 shebangs into the %%{__python3} macro
d2b195
- Add missing BuildRequires on python3-devel so that %%{__python3} macro is
d2b195
  defined
d2b195
d2b195
* Thu May 24 2018 Eric Sandeen <sandeen@redhat.com> - 1.2.0-8
d2b195
- Fix CVE-2018-10689 buffer overflow (#1575121)
d2b195
d2b195
* Wed May 16 2018 Eric Sandeen <sandeen@redhat.com> - 1.2.0-7
d2b195
- Make scripts python3-ready
d2b195
d2b195
* Mon May 07 2018 Eric Sandeen <sandeen@redhat.com> - 1.2.0-6
d2b195
- Fix for CVE-2018-10689 (#1575120)
d2b195
d2b195
* Mon Feb 26 2018 Eric Sandeen <sandeen@redhat.com> - 1.2.0-5
d2b195
- BuildRequires: gcc
d2b195
d2b195
* Sun Feb 25 2018 Florian Weimer <fweimer@redhat.com> - 1.2.0-4
d2b195
- Use LDFLAGS from redhat-rpm-config
d2b195
d2b195
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-3
d2b195
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
d2b195
d2b195
* Fri Dec 15 2017 Iryna Shcherbina <ishcherb@redhat.com> - 1.2.0-2
d2b195
- Update Python 2 dependency declarations to new packaging standards
d2b195
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
d2b195
d2b195
* Mon Nov 06 2017 Eric Sandeen <sandeen@redhat.com> - 1.2.0-1
d2b195
- New upstream version
d2b195
d2b195
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-6
d2b195
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
d2b195
d2b195
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-5
d2b195
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
d2b195
d2b195
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-4
d2b195
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
d2b195
d2b195
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-3
d2b195
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
d2b195
d2b195
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-2
d2b195
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
d2b195
d2b195
* Fri Sep 26 2014 Andrew Price <anprice@redhat.com> - 1.1.0-1
d2b195
- New upstream version
d2b195
- Add iowatcher subpackage
d2b195
- Remove obsolete 'clean' and 'defattr' sections
d2b195
d2b195
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.5-7
d2b195
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
d2b195
d2b195
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.5-6
d2b195
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
d2b195
d2b195
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.5-5
d2b195
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
d2b195
d2b195
* Thu Mar 21 2013 Eric Sandeen <sandeen@redhat.com> - 1.0.5-4
d2b195
- Remove tex->pdf doc build, fix build & lighten up buildreqs
d2b195
d2b195
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.5-3
d2b195
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
d2b195
d2b195
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.5-2
d2b195
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
d2b195
d2b195
* Fri Mar 23 2012 Eric Sandeen <sandeen@redhat.com> - 1.0.5-1
d2b195
- New upstream version
d2b195
d2b195
* Tue Jan 31 2012 Eric Sandeen <sandeen@redhat.com> - 1.0.4-1
d2b195
- New upstream version
d2b195
d2b195
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-2
d2b195
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
d2b195
d2b195
* Fri Aug 12 2011 Eric Sandeen <sandeen@redhat.com> - 1.0.3-1
d2b195
- New upstream version
d2b195
d2b195
* Wed Mar 16 2011 Eric Sandeen <sandeen@redhat.com> - 1.0.2-1
d2b195
- New upstream version
d2b195
d2b195
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-5
d2b195
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
d2b195
d2b195
* Sat Feb 13 2010 Eric Sandeen <sandeen@redhat.com> - 1.0.1-4
d2b195
- Fix linking with libpthread (#564775)
d2b195
d2b195
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-3
d2b195
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
d2b195
d2b195
* Mon May 11 2009 Eric Sandeen <sandeen@redhat.com> - 1.0.1-2
d2b195
- Upstream respun the release tarball to re-include top-level dir
d2b195
- drop exclude of bno_plot.py[co], not getting built now?
d2b195
d2b195
* Mon May 11 2009 Eric Sandeen <sandeen@redhat.com> - 1.0.1-1
d2b195
- New upstream version
d2b195
d2b195
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-3
d2b195
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
d2b195
d2b195
* Tue Feb 17 2009 Eric Sandeen <sandeen@redhat.com> - 1.0.0-2
d2b195
- Build PDF documentation after all
d2b195
d2b195
* Sun Nov 02 2008 Eric Sandeen <sandeen@redhat.com> - 1.0.0-1
d2b195
- New upstream version (now with actual versioning!)
d2b195
d2b195
* Fri Feb 08 2008 Eric Sandeen <sandeen@redhat.com> - 0.0-0.9.20080103162505git
d2b195
- gcc-4.3 rebuild
d2b195
d2b195
* Sat Jan 26 2008 Eric Sandeen <sandeen@redhat.com> - 0.0-0.8.20080103162505git
d2b195
- New upstream version
d2b195
d2b195
* Wed Oct 24 2007 Eric Sandeen <sandeen@redhat.com> - 0.0-0.6.20071010202719git
d2b195
- Add libaio-devel to BuildRequires
d2b195
d2b195
* Wed Oct 24 2007 Eric Sandeen <sandeen@redhat.com> - 0.0-0.5.20071010202719git
d2b195
- New upstream version
d2b195
d2b195
* Wed Aug 15 2007 Eric Sandeen <sandeen@redhat.com> - 0.0-0.4.20070730162628git
d2b195
- Fix up btt/Makefile to accept rpm's CFLAGS
d2b195
d2b195
* Tue Aug 14 2007 Eric Sandeen <sandeen@redhat.com> - 0.0-0.3.20070730162628git
d2b195
- Just drop the pdf build, bloats the buildroot for such a simple tool
d2b195
d2b195
* Wed Aug 01 2007 Eric Sandeen <sandeen@redhat.com> - 0.0-0.2.20070730162628git
d2b195
- Add ghostscript to BuildRequires, use attr macro for man pages
d2b195
d2b195
* Wed Aug 01 2007 Eric Sandeen <sandeen@redhat.com> - 0.0-0.1.20070730162628git
d2b195
- New package, initial build.