1 Summary: Interface for reading and browsing LTTng traces
2 Summary(pl.UTF-8): Interfejs do odczytu i przeglądania śladów LTTng
7 Group: Applications/System
8 Source0: http://lttng.org/files/lttngtop/%{name}-%{version}.tar.bz2
9 # Source0-md5: ff5e0d282d6571746f29ce1cbef6d773
10 URL: http://lttng.org/
11 BuildRequires: babeltrace-devel
12 BuildRequires: glib2-devel >= 1:2.22.0
13 BuildRequires: libuuid-devel
14 BuildRequires: lttng-tools-devel
15 BuildRequires: ncurses-devel
16 BuildRequires: ncurses-ext-devel
17 BuildRequires: pkgconfig
18 BuildRequires: popt-devel
19 Requires: glib2 >= 1:2.22.0
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 # babeltrace module with callbacks to lttngtop binary
23 %define skip_post_check_so libbabeltrace-lttngtop-live.so.*
26 LTTngTop is an ncurses interface for reading and browsing traces
27 recorded by the LTTng tracer and displaying various statistics. As of
28 now, the CPU usage, per file/process I/O bandwidth and perf counters
29 are displayed. This version currently only supports offline traces,
30 but a live version is in alpha and will be available for testing soon.
32 %description -l pl.UTF-8
33 LTTngTop to oparty na ncurses interfejs do odczytu i przeglądania
34 śladów zapisanych przez LTTng oraz wyświetlania różnych statystyk.
35 Obecnie wyświetlane jest wykorzystanie procesora, wykorzystanie we/wy
36 dla pliku/procesu oraz liczniki perf. Ta wersja obsługuje tylko ślady
37 offline, ale wersja działająca na żywo jest w stadium alfa i będzie
38 wkrótce dostępna do testów.
44 CPPFLAGS="%{rpmcppflags} -I/usr/include/ncurses"
46 --disable-silent-rules \
51 rm -rf $RPM_BUILD_ROOT
54 DESTDIR=$RPM_BUILD_ROOT
56 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libbabeltrace-lttngtop-live.la
59 rm -rf $RPM_BUILD_ROOT
62 %defattr(644,root,root,755)
64 %attr(755,root,root) %{_bindir}/lttngtop
65 %attr(755,root,root) %{_bindir}/lttngtoptrace
66 %attr(755,root,root) %{_libdir}/libbabeltrace-lttngtop-live.so.*.*.*
67 %attr(755,root,root) %ghost %{_libdir}/libbabeltrace-lttngtop-live.so.0
68 %attr(755,root,root) %{_libdir}/libbabeltrace-lttngtop-live.so
69 %{_mandir}/man1/lttngtop.1*
70 %{_mandir}/man1/lttngtoptrace.1*