1 Summary: Utilities for block layer I/O tracing
2 Summary(pl.UTF-8): Narzędzia do śledzenia we/wy warstwy blokowej
7 Group: Applications/System
8 Source0: https://brick.kernel.dk/snaps/%{name}-%{version}.tar.bz2
9 # Source0-md5: aa9bc7d76870d8dae56aa816527e8e15
10 BuildRequires: libaio-devel
11 BuildRequires: sed >= 4.0
12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 blktrace is a block layer I/O tracing mechanism which provides
16 detailed information about request queue operations up to user space.
17 This is valuable for diagnosing and fixing performance or application
18 problems relating to block layer I/O.
20 %description -l pl.UTF-8
21 blktrace to mechanizm do śledzenia we/wy warstwy blokowej,
22 zapewniający szczegółowe informacje o operacjach kolejki żądań dla
23 przestrzeni użytkownika. Jest to bardzo przydatne przy diagnostyce i
24 naprawianiu problemów z wydajnością lub aplikacjami związanych z we/wy
30 %{__sed} -i -e '1s, /usr/bin/env python,%{__python3},' btt/b??_plot.py
35 CFLAGS="%{rpmcflags} %{rpmcppflags}" \
36 LDFLAGS="%{rpmldflags}"
39 rm -rf $RPM_BUILD_ROOT
41 DESTDIR=$RPM_BUILD_ROOT \
45 %{__mv} $RPM_BUILD_ROOT%{_bindir}/{bno_plot.py,bno_plot}
48 rm -rf $RPM_BUILD_ROOT
51 %defattr(644,root,root,755)
53 %attr(755,root,root) %{_bindir}/blkiomon
54 %attr(755,root,root) %{_bindir}/blkparse
55 %attr(755,root,root) %{_bindir}/blkrawverify
56 %attr(755,root,root) %{_bindir}/blktrace
57 %attr(755,root,root) %{_bindir}/bno_plot
58 %attr(755,root,root) %{_bindir}/btrace
59 %attr(755,root,root) %{_bindir}/btrecord
60 %attr(755,root,root) %{_bindir}/btreplay
61 %attr(755,root,root) %{_bindir}/btt
62 %attr(755,root,root) %{_bindir}/iowatcher
63 %attr(755,root,root) %{_bindir}/verify_blkparse
64 %{_mandir}/man1/blkparse.1*
65 %{_mandir}/man1/blkrawverify.1*
66 %{_mandir}/man1/bno_plot.1*
67 %{_mandir}/man1/btt.1*
68 %{_mandir}/man1/iowatcher.1*
69 %{_mandir}/man1/verify_blkparse.1*
70 %{_mandir}/man8/blkiomon.8*
71 %{_mandir}/man8/blktrace.8*
72 %{_mandir}/man8/btrace.8*
73 %{_mandir}/man8/btrecord.8*
74 %{_mandir}/man8/btreplay.8*