Rebase bcc to the latest upstream version (RHEL-162981) and rebuild
with the LLVM 22 (RHEL-170955). The rebase fixes multiple issues:
- Fix filegone, kvmexit, netqtop and tcpconnect on s390x (RHEL-118750)
- Fix profile on s390x (RHEL-112865)
- Fix bpf-cpufreq (RHEL-78168)
- Fix bpf-syncsnoop (RHEL-78171)
Resolves: RHEL-162981
Resolves: RHEL-170955
Resolves: RHEL-118750
Resolves: RHEL-112865
Resolves: RHEL-78168
Resolves: RHEL-78171
Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
Rebase to version 0.34.0 (RHEL-78920) which also fix the
following:
- Fix bpf-klockstat on aarch64 and ppc64le (RHEL-78619)
Also include the following fixes:
- Rebuild with LLVM 20 (RHEL-81773)
- Fix biosnoop pattern option (RHEL-90848)
- Remove unsupported bpf-bcachefs* and bpf-zfs* tools (RHEL-78166)
- Remove unsupported slaratetop tool (RHEL-78162)
Resolves: RHEL-78920
Resolves: RHEL-78619
Resolves: RHEL-81773
Resolves: RHEL-90848
Resolves: RHEL-78166
Resolves: RHEL-78162
Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
Rebase bcc to the latest version and at the same time rebuild with
LLVM 19.
Resolves: RHEL-63883
Resolves: RHEL-66060
Resolves: RHEL-8663
Resolves: RHEL-30896
Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
python3-pyelftools is not in the s390x compose. Drop the dependency
until it is added. Bashreadline won't work until it is added, but
other tools are unaffected.
Related: RHEL-36583
Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
The previous fix that was part of the bcc-0.30.0 rebase didn't
actually do anything but print a warning. Actually fix the issue this
time.
Also add the python3-elftools dependency needed for bashreadline.
Resolves: RHEL-28769
Resolves: RHEL-36583
CVE CVE-2024-2314
Rebase bcc to v0.30.0. Also exclude bpf-numamove on s390x arch, since
CONFIG_NUMA_BALANCING is not set on this arch.
Resolves: RHEL-29031
Resolves: RHEL-27159
Resolves: RHEL-8558
Resolves: RHEL-32327
Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
Rebase bcc to v0.28.0 and rebuild it with LLVM 17. The rebase fixes
the following issues:
- bpf-biosnoop out of bound access
- kvmexit missing VM exit reasons and statistics
- multi-word array type handling
Also fix tcpstates -Y issue and bio tools on non x86_64 arches.
Resolves: RHEL-9976
Resolves: RHEL-8664
Resolves: RHEL-8702
Resolves: RHEL-8674
Resolves: RHEL-8490
Resolves: RHEL-10591
Resolves: RHEL-8553
Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
The rhel-target metadata was missing for the last build and that
prevented the build system to build the downstream rhel package.
Related: rhbz#2177676
Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
This is needed to build bpf-ksnoop. We can also remove a few revert we
needed to build on libbpf-0.5.0.
Related: rhbz#2010428
Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
It cause gating to fail in rpmdep. It also add bogus
"python-%{srcname}" provides field:
rpm -q --provides python3-bcc
python-%{srcname} = 0.20.0-8.el9
...
Related: rhbz#2039595
- Sync with latest libbpf (fixes multiple BPF_F_BROADCAST breakages)
- Fix cpudist, mdflush, readahead, threadsnoop.
- Handle the renaming of task_struct_>state field on RHEL 9 (fixes
offcputime, offwaketime, runqlat and runqslower)
- Drop several tools that relies on features disabled on RHEL
Resolves: rhbz#1992430
Signed-off-by: Jerome Marchand <jmarchan@redhat.com>