Commit Graph

43 Commits

Author SHA1 Message Date
Jerome Marchand
1eb395b435 Rebuilt with LLVM 18
Resolves: RHEL-28684
Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
2024-07-04 10:23:35 +02:00
Jerome Marchand
b53fffde4c Drop python3-pyelftools dependency on s390x
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>
2024-05-31 14:19:33 +02:00
Jerome Marchand
036f4678cd Exclude btrfs and f2fs libbpf tools
RHEL doesn't provide btrfs or f2sf.

Resolves: RHEL-36579

Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
2024-05-21 16:28:34 +02:00
Jerome Marchand
410589b0f3 Actually prevent the loading of unknown kernel headers
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
2024-05-20 13:30:14 +02:00
Jerome Marchand
deda5ca5c8 Rebuild bcc
The last build failed to build on rhel9.5. Also add the reference to
RHEL-28769 that was fixed by the rebase for automation.

Resolves: RHEL-28769
2024-05-03 14:32:42 +02:00
Jerome Marchand
df8658a35a Rebase bcc to 0.30.0
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>
2024-05-02 11:08:50 +02:00
Jerome Marchand
9b78702a51 Misc fixes and enhancements
- Fix libbpf bio tools (RHEL-19368)
- Add S390x support to libbpf-tools (RHEL-16325)
- Power enhancements(RHEL-11477)

Resolves: RHEL-19368
Resolves: RHEL-16325
Resolves: RHEL-11477
Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
2024-01-24 10:59:17 +01:00
Jerome Marchand
13267d0b98 Rebuild with LLVM 17
Build it in a side tag this time.

Related: RHEL-10591
2023-11-21 16:53:48 +01:00
Jerome Marchand
e378d91da9 Rebuild with LLVM 17
LLVM 17 wasn't in the build root at the time of the last build.

Resolves: RHEL-10591
2023-11-21 15:15:49 +01:00
Jerome Marchand
ba3682c216 Fix repo URL in tests.yml
git:// protocol isn't supported anymore

Related: RHEL-9976

Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
2023-11-07 15:38:27 +01:00
Jerome Marchand
3cb0495cc6 Fix trace tools
Resolves: RHEL-8605
Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
2023-11-06 16:21:21 +01:00
Jerome Marchand
2053933c95 Rebase bcc to the latest version
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>
2023-10-23 17:11:26 +02:00
Carlos Rodriguez-Fernandez
6436833ca5
add tmt tests for libbpf-tools
Resolves: #RHEL-10124
Signed-off-by: Carlos Rodriguez-Fernandez <carlosrodrifernandez@gmail.com>
2023-10-19 12:30:01 -07:00
Jerome Marchand
7204bb96a1 Sync with latest libbpf repo
It fixes a tcpretrans issue.

Resolves: rhbz#2226967

Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
2023-08-10 15:08:42 +02:00
Jerome Marchand
d4b938c7f2 Rebuild bcc with LLVM16 and misc fixes
Fixes the following issue:
- compactsnoop
- killsnoop documentation
- funcslower
- deadlock memory usage issue
- nfsslower
Also, use upstream fix for nfsslower unititialized struct issue.

Resolves: rhbz#2192952
Resolves: rhbz#2042236
Resolves: rhbz#2075500
Resolves: rhbz#2180934
Resolves: rhbz#2075415
Resolves: rhbz#2050112

Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
2023-05-12 16:47:55 +02:00
Jerome Marchand
e35359999f Rebuild with the right rhel-target
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>
2023-03-15 17:18:50 +01:00
Jerome Marchand
4f7eb40bdc Rebase to the latest version
Rebase bcc to v0.26.0 and fix slabratetop and readahead
issue.

Resolves: rhbz#2177676

Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
2023-03-15 15:21:53 +01:00
Jerome Marchand
01dff37924 Rebuild for libbpf 1.0
Related: rhbz#2157592
2023-01-05 11:21:45 +01:00
Jerome Marchand
20eb383fc1 Rebase to the latest version
Rebase bcc to v0.25 and fix some doc and manpages issue.

Resolves: rhbz#2033155
Resolves: rhbz#2074061
Resolves: rhbz#2074580
Resolves: rhbz#2074584
Resolves: rhbz#2074982
Resolves: rhbz#2074995
Resolves: rhbz#2075000
Resolves: rhbz#2075008
Resolves: rhbz#2075014
Resolves: rhbz#2075028
Resolves: rhbz#2075185
Resolves: rhbz#2075196
Resolves: rhbz#2075500
Resolves: rhbz#2075754
Resolves: rhbz#2075798
Resolves: rhbz#2075828
Resolves: rhbz#2075832
Resolves: rhbz#2075877
Resolves: rhbz#2077863
Resolves: rhbz#2078065
Resolves: rhbz#2078067
Resolves: rhbz#2078432
Resolves: rhbz#2118993
Resolves: rhbz#2121919

Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
2022-12-20 12:14:44 +01:00
Jerome Marchand
54d6fada7d Tools: fix mdflush
Include blkdev.h instead of genhd.h

Resolves: rhbz#2108001
2022-08-23 11:18:08 +02:00
Jerome Marchand
b6f327fcd1 Rebuild for libbpf 0.6.0
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>
2022-07-01 13:10:54 +02:00
Jerome Marchand
222ec7a9d9 Rebuild (UNKNOWN_KOJI_ERROR)
Previous build failed to build in brew with the unhelpful UNKNOWN_KOJI_ERROR

Related: rhbz#2061758
Related: rhbz#2061051
2022-05-18 18:58:53 +02:00
Jerome Marchand
1bd39e1703 Rebase to the latest version
Rebase bcc to v0.24 and fix cmake build

Resolves: rhbz#2061758
Resolves: rhbz#2061051

Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
2022-05-18 12:42:02 +02:00
Jerome Marchand
a61b5a1d1e Remove deprecated python_provide macro
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
2022-02-25 09:48:29 +01:00
Jerome Marchand
1544174780 Fix bio tools
Fix the bio tools thas has been broken by a couple of changes in the
kernel.

Resolves: rhbz#2039595
2022-02-25 07:22:03 +01:00
Jerome Marchand
0336e763b9 Rebuild for LLVM 13
Resolves: rhbz#2001126
2021-11-26 16:07:42 +01:00
Jerome Marchand
019ff871c7 Misc fixes (bz1992430)
- 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>
2021-10-15 10:57:36 +02:00
Mohan Boddu
40ee81eae2 Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2021-08-09 19:28:40 +00:00
Jerome Marchand
7d143d049a Add gating tests
Add the actual gating test

Related: rhbz#1967550
2021-08-03 12:47:35 +02:00
Aleksandra Fedorova
85305154cc Add RHEL gating configuration 2021-08-03 10:20:25 +00:00
Jerome Marchand
649cb627d8 Don't require bcc-tools by default
Also add explicit requirement for bcc-tools (silence a rpmdiff
complaint) and build from standard source (needed for gating).

Resolves: rhbz#1967550
2021-08-03 11:24:13 +02:00
Jerome Marchand
bf9b748ed9 libbpf-tools: don't ignore LDFLAGS
Needed to pass gating.

Related: rhbz#1965385
2021-06-02 18:18:35 +02:00
Jerome Marchand
142c3b9630 libbpf-tools: don't override cflags
Needed to pass gating.

Related: rhbz#1965385
2021-06-02 16:07:55 +02:00
Jerome Marchand
51409dda40 Rebase to bcc 0.20.0
Resolves: rhbz#1965385
2021-06-02 13:04:11 +02:00
Tom Stellard
57232d1c13 Rebuild for LLVM 12
Related: rhbz#1928132
2021-05-13 16:46:07 -07:00
Mohan Boddu
b51aec4e94 - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2021-04-15 22:43:07 +00:00
DistroBaker
5a558a6ebd Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/bcc.git#c247aac8ea92c681d0b155ed097d61c76f3f9754
2021-02-18 18:24:34 +00:00
DistroBaker
fc65f2ee4f Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/bcc.git#c67067da05ef9090e1c975b286ca825469592685
2021-02-03 11:38:37 +01:00
DistroBaker
6f32a26359 Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/bcc.git#1ce75a6b064bc377286b0eb680c343b2a597c08c
2021-01-23 16:12:29 +00:00
DistroBaker
f2e51062fc Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/bcc.git#5b6fcdbef571307db9b6d4649ef3ad2e20ace427
2021-01-05 23:39:29 +00:00
DistroBaker
76d0c05311 Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/bcc.git#cd0f90c0a587db6f03f6a52d5de36e6938ecf340
2020-10-30 14:29:35 +01:00
Petr Šabata
e66638cb53 RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/bcc#b3f9cd66d836739dde256608597ed7e445d9377a
2020-10-14 22:14:19 +02:00
Release Configuration Management
76b59a1f94 New branch setup 2020-10-08 11:01:53 +00:00