]>
Commit | Line | Data |
---|---|---|
c1015854 JB |
1 | Summary: Utilities for block layer I/O tracing |
2 | Summary(pl.UTF-8): Narzędzia do śledzenia we/wy warstwy blokowej | |
235c4e55 | 3 | Name: blktrace |
616fcfcc | 4 | Version: 1.0.5 |
235c4e55 AM |
5 | Release: 1 |
6 | License: GPL v2+ | |
7 | Group: Applications/System | |
8 | Source0: http://brick.kernel.dk/snaps/%{name}-%{version}.tar.bz2 | |
616fcfcc | 9 | # Source0-md5: 02914c0b51fd16f36095436374e14cc7 |
c1015854 | 10 | BuildRequires: libaio-devel |
235c4e55 AM |
11 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
12 | ||
13 | %description | |
c1015854 JB |
14 | blktrace is a block layer I/O tracing mechanism which provides |
15 | detailed information about request queue operations up to user space. | |
16 | This is valuable for diagnosing and fixing performance or application | |
17 | problems relating to block layer I/O. | |
235c4e55 | 18 | |
c1015854 JB |
19 | %description -l pl.UTF-8 |
20 | blktrace to mechanizm do śledzenia we/wy warstwy blokowej, | |
21 | zapewniający szczegółowe informacje o operacjach kolejki żądań dla | |
22 | przestrzeni użytkownika. Jest to bardzo przydatne przy diagnostyce i | |
23 | naprawianiu problemów z wydajnością lub aplikacjami związanych z we/wy | |
24 | warstwy blokowej. | |
235c4e55 AM |
25 | |
26 | %prep | |
c1015854 | 27 | %setup -q |
235c4e55 AM |
28 | |
29 | %build | |
397bcf7e | 30 | %{__make} -j1 \ |
235c4e55 AM |
31 | CC="%{__cc}" \ |
32 | CFLAGS="%{rpmcflags}" \ | |
33 | LDFLAGS="%{rpmldflags}" | |
34 | ||
35 | %install | |
36 | rm -rf $RPM_BUILD_ROOT | |
c1015854 JB |
37 | %{__make} install \ |
38 | DESTDIR=$RPM_BUILD_ROOT \ | |
39 | prefix=%{_prefix} \ | |
40 | mandir=%{_mandir} | |
41 | ||
42 | mv $RPM_BUILD_ROOT%{_bindir}/{bno_plot.py,bno_plot} | |
235c4e55 AM |
43 | |
44 | %clean | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | ||
47 | %files | |
48 | %defattr(644,root,root,755) | |
49 | %doc README | |
c1015854 JB |
50 | %attr(755,root,root) %{_bindir}/blkiomon |
51 | %attr(755,root,root) %{_bindir}/blkparse | |
52 | %attr(755,root,root) %{_bindir}/blkrawverify | |
53 | %attr(755,root,root) %{_bindir}/blktrace | |
54 | %attr(755,root,root) %{_bindir}/bno_plot | |
55 | %attr(755,root,root) %{_bindir}/btrace | |
56 | %attr(755,root,root) %{_bindir}/btrecord | |
57 | %attr(755,root,root) %{_bindir}/btreplay | |
58 | %attr(755,root,root) %{_bindir}/btt | |
59 | %attr(755,root,root) %{_bindir}/verify_blkparse | |
60 | %{_mandir}/man1/blkparse.1* | |
61 | %{_mandir}/man1/blkrawverify.1* | |
62 | %{_mandir}/man1/bno_plot.1* | |
63 | %{_mandir}/man1/btt.1* | |
64 | %{_mandir}/man1/verify_blkparse.1* | |
65 | %{_mandir}/man8/blkiomon.8* | |
66 | %{_mandir}/man8/blktrace.8* | |
67 | %{_mandir}/man8/btrace.8* | |
68 | %{_mandir}/man8/btrecord.8* | |
69 | %{_mandir}/man8/btreplay.8* |