Commit Graph

22 Commits

Author SHA1 Message Date
Viktor Malik e402818776
Rebase bpftrace to 0.20.3
Also fixes a couple of issues:
- fix bpftrace creating BPF programs with truncated names,
- fix CVE allowing unprivileged users loading of compromised linux headers.

Resolves: RHEL-30779
Resolves: RHEL-8502
Resolves: RHEL-28765
CVE: CVE-2024-2313

Signed-off-by: Viktor Malik <vmalik@redhat.com>
2024-05-03 09:20:09 +02:00
Viktor Malik 8f9b08b6e0
Rebase bpftrace to 0.19.1
Also rebuild for LLVM 17.

Resolves: RHEL-10693
Resolves: RHEL-10592
Resolves: RHEL-3690
Resolves: RHEL-11476
2023-11-21 07:10:06 +01:00
Viktor Malik bde7b370c7
Rebuild for LLMV 16
Resolves: rhbz#2192953

Signed-off-by: Viktor Malik <vmalik@redhat.com>
2023-05-15 09:05:12 +02:00
Viktor Malik 2fbe8b0169
Rebase bpftrace to 0.17.0
In addition, fix runqlat.bt, tcpdrop.bt, and undump.bt on aarch64.

Resolves: RHEL-286
Resolves: rhbz#2170838

Signed-off-by: Viktor Malik <vmalik@redhat.com>
2023-03-14 08:20:37 +01:00
Viktor Malik 73942f931b
s390x,ppc: Fix missing attachpoints for bio* tools
Also rebuild for libbpf 1.0.0.

Resolves: rhbz#2157829
Related: rhbz#2157592

Signed-off-by: Viktor Malik <vmalik@redhat.com>
2023-01-05 13:58:40 +01:00
Viktor Malik 96b95cdfd3
Rebase to bpfrace 0.16.0 and LLVM 15
Resolves: rhbz#2121920
Resolves: rhbz#2118995
Resolves: rhbz#1975148
Resolves: rhbz#2088577
Resolves: rhbz#2128208
Resolves: rhbz#2073675
Resolves: rhbz#2073770
Resolves: rhbz#2075076

The new release and few added patches fix bugs in the shipped tools.
Also some RHEL-specific patches can be removed.

bpftrace 0.16.0 requires the cereal serialization library which is not
packaged into RHEL9. To overcome this problem, we download it manually,
which is ok to do as the library is only necessary during build.

Signed-off-by: Viktor Malik <vmalik@redhat.com>
2022-12-21 12:19:57 +01:00
Jerome Marchand 297bf8d34c Rebase to bpftrace 0.13.1
- Rebase to bpftrace 0.13.1.
- Rebuild for LLVM14

Resolves: rhbz#2061052
Related: rhbz#2061764

Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
2022-05-18 12:39:46 +02:00
Viktor Malik a4491cdd93
Backport bug fixes from upstream
Two bugfixes were backported:

- Fix for wildcard listing bug
  Resolves: rhbz#2055550

- Changes to bio* tools required by new kernels
  Resolves: rhbz#2039661

Signed-off-by: Viktor Malik <vmalik@redhat.com>
2022-02-22 08:10:54 +01:00
Jerome Marchand d1570de34c Bump up bcc version
Update the minimal bcc version so it can't be installed with an
incompatible bcc (i.e.) build against LLVM 12. This should help with
gating.

Related: rhbz#2001127
2021-12-07 16:16:43 +01:00
Jerome Marchand d905b4e92e Rebuilt for LLVM13
LLVM has been rebased to version 13.

Resolves: rhbz#2001127

Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
2021-12-02 12:25:19 +01:00
Jerome Marchand d733367985 Fix gating failures
A few fixes needed to pass gating. Some failures were also fixed in
the testsuite.
- Threadsnoop need to points to libpthread.so.0 instead of
libpthread.so
- aarch64 specific fixes: some syscall are not present on all arches.

Related: rhbz#1967567

Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
2021-10-18 16:45:30 +02:00
Jerome Marchand 5dd43e52fc Bump the release number and add changelog
Needed to rebuild and pass gating.

Related:  rhbz#1967567

Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
2021-10-18 12:01:51 +02:00
Jerome Marchand 4cf4db1b7f Fix mdflush
Since kernel commit 309dca309fc ("block: store a block_device pointer
in struct bio") struct bio points again to a block_device and not to a
gendisk directly.

Resolves: rhbz#1967567
2021-10-15 14:58:07 +02:00
Mohan Boddu f5e279f0a2 Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2021-08-09 19:31:53 +00:00
Jerome Marchand a139ab5017 Rebase to bpftrace 0.12.1
Resolves: rhbz#1965383
2021-06-03 13:49:08 +02:00
Mohan Boddu 704d2cae17 - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2021-04-15 22:46:15 +00:00
Jerome Marchand fee57cc7b2 Rebuild for LLVM 0.11.1
This should have already done by an automatic build, but for some
reason it failed. LLVM has been rebuild in the mean time and the
scratch build didn't fail, so let's rebuilt it.

Resolves: rhbz#1925146
2021-02-12 09:38:42 +01:00
DistroBaker 0b45c6f5fa 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/bpftrace.git#ff6bc428a31ba96dd7d2819ac84c9421ed31f312
2021-02-04 13:44:19 +00:00
DistroBaker b3a3090444 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/bpftrace.git#9ee8c14a519dca3aa754986f33887c2d027737cd
2021-01-23 16:12:48 +00:00
DistroBaker 6ad4887547 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/bpftrace.git#5b1b0ed06f26039512c5adc1a4cb49f8ddee6fdd
2020-12-04 20:13:11 +00:00
Troy Dawson 2f3c39b596 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/bpftrace#172a6f7d2f5054017beeae90a619dd834c529ed6
2020-11-16 14:52:37 -08:00
Petr Šabata a1c50b75b3 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/bpftrace#9d461237bbdb0cf042f76e688d1cda4882b74635
2020-10-14 22:27:27 +02:00