]>
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 |
c1015854 | 4 | Version: 1.0.2 |
235c4e55 AM |
5 | Release: 1 |
6 | License: GPL v2+ | |
7 | Group: Applications/System | |
8 | Source0: http://brick.kernel.dk/snaps/%{name}-%{version}.tar.bz2 | |
c1015854 JB |
9 | # Source0-md5: 088e30d28d0be8e32d1d3a839bde6946 |
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 | |
30 | %{__make} \ | |
31 | CC="%{__cc}" \ | |
32 | CFLAGS="%{rpmcflags}" \ | |
33 | LDFLAGS="%{rpmldflags}" | |
34 | ||
35 | %install | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | ||
c1015854 JB |
38 | %{__make} install \ |
39 | DESTDIR=$RPM_BUILD_ROOT \ | |
40 | prefix=%{_prefix} \ | |
41 | mandir=%{_mandir} | |
42 | ||
43 | mv $RPM_BUILD_ROOT%{_bindir}/{bno_plot.py,bno_plot} | |
235c4e55 AM |
44 | |
45 | %clean | |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | ||
48 | %files | |
49 | %defattr(644,root,root,755) | |
50 | %doc README | |
c1015854 JB |
51 | %attr(755,root,root) %{_bindir}/blkiomon |
52 | %attr(755,root,root) %{_bindir}/blkparse | |
53 | %attr(755,root,root) %{_bindir}/blkrawverify | |
54 | %attr(755,root,root) %{_bindir}/blktrace | |
55 | %attr(755,root,root) %{_bindir}/bno_plot | |
56 | %attr(755,root,root) %{_bindir}/btrace | |
57 | %attr(755,root,root) %{_bindir}/btrecord | |
58 | %attr(755,root,root) %{_bindir}/btreplay | |
59 | %attr(755,root,root) %{_bindir}/btt | |
60 | %attr(755,root,root) %{_bindir}/verify_blkparse | |
61 | %{_mandir}/man1/blkparse.1* | |
62 | %{_mandir}/man1/blkrawverify.1* | |
63 | %{_mandir}/man1/bno_plot.1* | |
64 | %{_mandir}/man1/btt.1* | |
65 | %{_mandir}/man1/verify_blkparse.1* | |
66 | %{_mandir}/man8/blkiomon.8* | |
67 | %{_mandir}/man8/blktrace.8* | |
68 | %{_mandir}/man8/btrace.8* | |
69 | %{_mandir}/man8/btrecord.8* | |
70 | %{_mandir}/man8/btreplay.8* |