Commit Graph

32 Commits

Author SHA1 Message Date
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