4 Summary: Tools for BPF-based Linux IO analysis, networking, monitoring
6 Vendor: None (open source)
7 Group: Development/Compilers
8 URL: https://github.com/iovisor/bcc
9 Source0: %{name}-%{version}.tar.gz
10 Requires: /sbin/ldconfig
11 BuildRequires: gcc >= 3.4
12 BuildRequires: cmake python
13 BuildRequires: bison flex llvm-devel clang-devel libelf-devel
14 BuildRequires: llvm-static-devel
17 BCC is a toolkit for creating efficient kernel tracing and manipulation
18 programs, and includes several useful tools and examples. It makes use
19 of extended BPF (Berkeley Packet Filters), formally known as eBPF, a new
20 feature that was first added to Linux 3.15. Much of what BCC uses
21 requires Linux 4.1 and above.
24 Summary: Developer package for BCC
29 This package provides development libraries.
32 %setup -q -n bcc-tools-%{version}
36 cmake -DCMAKE_INSTALL_PREFIX=/usr -DINSTALL_CPP_EXAMPLES=ON .
46 %post -p /sbin/ldconfig
48 %postun -p /sbin/ldconfig
52 %{_libdir}/libbcc.so.*
53 %{_prefix}/lib/python2.7/site-packages/bcc*
59 %{_libdir}/pkgconfig/libbcc.pc