Compare commits
8 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| df881ae86c | |||
| 86d6e5c417 | |||
| f45a71a146 | |||
| 61fe30a3c7 | |||
| dcf3712f28 | |||
| 7ac267c847 | |||
| 43f677805d | |||
| add1a05acf |
13
_constraints
Normal file
13
_constraints
Normal file
@@ -0,0 +1,13 @@
|
||||
<constraints>
|
||||
<overwrite>
|
||||
<conditions>
|
||||
<arch>ppc64le</arch>
|
||||
</conditions>
|
||||
<hardware>
|
||||
<memory>
|
||||
<size unit="G">8</size>
|
||||
</memory>
|
||||
</hardware>
|
||||
</overwrite>
|
||||
</constraints>
|
||||
|
||||
BIN
bcc-0.35.0.tar.gz
LFS
BIN
bcc-0.35.0.tar.gz
LFS
Binary file not shown.
3
bcc-0.36.0.tar.gz
Normal file
3
bcc-0.36.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:77a85dd62b48d80d4c95e5c716d46f8465b6cfaaeaa9a2f62939374c2421d3cd
|
||||
size 7402355
|
||||
2
bcc-rpmlintrc
Normal file
2
bcc-rpmlintrc
Normal file
@@ -0,0 +1,2 @@
|
||||
# some bcc-tools uses /usr/share/bcc/tools/*.c for compilation at runtime, so must be shipped as-is.
|
||||
addFilter("devel-file-in-non-devel-package /usr/share/bcc/tools/.*\.c")
|
||||
52
bcc.changes
52
bcc.changes
@@ -1,3 +1,55 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 4 10:54:13 UTC 2026 - Shung-Hsi Yu <shung-hsi.yu@suse.com>
|
||||
|
||||
- Update to version 0.36.0
|
||||
* Support for kernel up to 6.18
|
||||
* New tool: softirqslower (trace slow software interrupt handlers)
|
||||
* libbpf-tools updates:
|
||||
* opensnoop, filelife: Add full-path support
|
||||
* filetop: Add directory filter capability
|
||||
* runqslower: Add -c option to filter by process name prefix
|
||||
* fsdist, fsslower: Add support for fuse filesystem
|
||||
* tcptop: Major refactoring using fentry/fexit for better performance
|
||||
* syncsnoop: Add support for sync_file_range2
|
||||
* offcputime: Fix min/max_block_ns unit conversion error
|
||||
* bcc tools updates:
|
||||
* opensnoop: Add full-path support with -F option
|
||||
* kvmexit: Add AMD processor support and parallel post-processing
|
||||
* offwaketime: Add raw tracepoint support to reduce overhead
|
||||
* tcpconnect: Fix iov field for DNS with Linux>=6.4
|
||||
* biolatency, biosnoop, biotop: Use TRACEPOINT_PROBE() for tracepoints
|
||||
* Python API:
|
||||
* Add functionality to detach all uprobes for a binary
|
||||
* Add support for executing a program and tracing it
|
||||
* Build:
|
||||
* Fix build failure with Clang 21 (bsc#1257616)
|
||||
* Fix build for LLVM 23
|
||||
* Support versioned SONAME in shared library resolution
|
||||
* doc update, other bug fixes and tools improvement.
|
||||
* drop 0001-tools-filetop-fix-DNAME_INLINE_LEN-by-folding-to-int.patch which
|
||||
is now included
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 24 01:59:23 UTC 2025 - Hoyeon Lee <hoyeon.lee@suse.com>
|
||||
|
||||
- Add libbpf-tools subpackage
|
||||
- tools are prefixed with 'bpf-' (iovisor/bcc#3263)
|
||||
- disabled for unsupported AArch32/IA-32 variant
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 25 16:14:11 UTC 2025 - Hoyeon Lee <hoyeon.lee@suse.com>
|
||||
|
||||
- Add _constraints to avoid OOM on OBS workers (bsc#1248638)
|
||||
- Add rpmlintrc to suppress rpmlint warnings
|
||||
* some bcc-tools uses /usr/share/bcc/tools/*.c for compilation at runtime,
|
||||
so must be shipped as-is.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 19 07:31:59 UTC 2025 - Hoyeon Lee <hoyeon.lee@suse.com>
|
||||
|
||||
- tools/filetop: fix script failing after kernel 6.14 update (bsc#1240644)
|
||||
* Add 0001-tools-filetop-fix-DNAME_INLINE_LEN-by-folding-to-int.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 10 06:20:23 UTC 2025 - Shung-Hsi Yu <shung-hsi.yu@suse.com>
|
||||
|
||||
|
||||
78
bcc.spec
78
bcc.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package bcc
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
# Copyright (c) 2026 SUSE LLC and contributors
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -26,40 +26,21 @@
|
||||
%{!?with_lua: %global with_lua 0}
|
||||
%endif
|
||||
|
||||
# Use default LLVM on openSUSE unless it is not yet supported
|
||||
%if 0%{?suse_version} >= 1600 || 0%{?is_opensuse}
|
||||
%if 0%{?product_libs_llvm_ver} > 19
|
||||
%define llvm_major_version 19
|
||||
%else
|
||||
%define llvm_major_version %{nil}
|
||||
%endif
|
||||
%ifarch %arm %ix86
|
||||
%{!?with_libbpf_tools: %global with_libbpf_tools 0}
|
||||
%else
|
||||
# Hard-code latest LLVM for SLES, the default version is too old
|
||||
%if 0%{?sle_version} == 150700
|
||||
%define llvm_major_version 19
|
||||
%else
|
||||
%if 0%{?sle_version} == 150600
|
||||
%define llvm_major_version 17
|
||||
%else
|
||||
%if 0%{?sle_version} == 150500
|
||||
%define llvm_major_version 15
|
||||
%else
|
||||
%if 0%{?sle_version} == 150400
|
||||
%define llvm_major_version 11
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%{!?with_libbpf_tools: %global with_libbpf_tools 1}
|
||||
%endif
|
||||
|
||||
Name: bcc
|
||||
Version: 0.35.0
|
||||
Version: 0.36.0
|
||||
Release: 0
|
||||
Summary: BPF Compiler Collection (BCC)
|
||||
License: Apache-2.0
|
||||
Group: Development/Tools/Other
|
||||
URL: https://github.com/iovisor/bcc
|
||||
Source: https://github.com/iovisor/bcc/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
Source100: bcc-rpmlintrc
|
||||
ExcludeArch: ppc s390
|
||||
BuildRequires: bison
|
||||
BuildRequires: cmake >= 2.8.7
|
||||
@@ -67,10 +48,10 @@ BuildRequires: flex
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libbpf-devel
|
||||
BuildRequires: libelf-devel
|
||||
BuildRequires: llvm%{llvm_major_version}-devel
|
||||
BuildRequires: llvm%{product_libs_llvm_ver}-devel
|
||||
%if 0%{?suse_version} > 1320
|
||||
BuildRequires: clang%{llvm_major_version}-devel
|
||||
BuildRequires: llvm%{llvm_major_version}-gold
|
||||
BuildRequires: clang%{product_libs_llvm_ver}-devel
|
||||
BuildRequires: llvm%{product_libs_llvm_ver}-gold
|
||||
%else
|
||||
BuildRequires: libstdc++-devel
|
||||
%endif
|
||||
@@ -158,6 +139,16 @@ BuildArch: noarch
|
||||
%description docs
|
||||
Documentation on how to write programs with the BPF Compiler Collection.
|
||||
|
||||
%if %{with_libbpf_tools}
|
||||
%package -n libbpf-tools
|
||||
Summary: Tracing libbpf tools from the BPF Compiler Collection
|
||||
BuildRequires: bpftool
|
||||
BuildRequires: libbpf-devel-static
|
||||
|
||||
%description -n libbpf-tools
|
||||
libbpf-driven eBPF tracing tools from the BPF Compiler Collection
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
@@ -209,6 +200,14 @@ find tools/ examples/ -type f -exec \
|
||||
find tools/ examples/ -type f -exec \
|
||||
sed -i '1s|/bin/python$|/bin/python3|g' {} +
|
||||
|
||||
%if %{with_libbpf_tools}
|
||||
pushd libbpf-tools
|
||||
%make_build LIBBPF_OBJ=%{_libdir}/libbpf.a \
|
||||
BPFTOOL=%{_sbindir}/bpftool \
|
||||
CFLAGS="%{optflags}"
|
||||
popd
|
||||
%endif
|
||||
|
||||
%install
|
||||
pushd build
|
||||
%make_install
|
||||
@@ -220,6 +219,24 @@ rm -f %{buildroot}/%{_bindir}/bps
|
||||
|
||||
popd
|
||||
|
||||
%if %{with_libbpf_tools}
|
||||
pushd libbpf-tools
|
||||
# package libbpf-tools with 'bpf-' prefix (iovisor/bcc#3263)
|
||||
%make_install bindir=%{_sbindir}
|
||||
(
|
||||
cd %{buildroot}/%{_sbindir}
|
||||
for file in *; do
|
||||
mv $file bpf-$file
|
||||
done
|
||||
# some are symlinks, update them too
|
||||
for file in `find . -type l`; do
|
||||
dest=$(readlink "$file")
|
||||
ln -s -f bpf-$dest $file
|
||||
done
|
||||
)
|
||||
popd
|
||||
%endif
|
||||
|
||||
# Remove the static libraries
|
||||
rm -f %{buildroot}/%{_libdir}/libbcc*.a
|
||||
|
||||
@@ -267,4 +284,9 @@ rm -f %{buildroot}/%{_libdir}/libbcc*.a
|
||||
%doc docs/kernel-versions.md docs/reference_guide.md
|
||||
%doc docs/tutorial_bcc_python_developer.md docs/tutorial.md
|
||||
|
||||
%if %{with_libbpf_tools}
|
||||
%files -n libbpf-tools
|
||||
%{_sbindir}/bpf-*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user