Commit Graph

67 Commits

Author SHA1 Message Date
Viktor Malik
4c48b5f464
Rebase bpftrace to 0.23.5
Resolves: RHEL-79000

Upstream dropped usage of lldb for parsing DWARF and replaced it by
using libdw (from elfutils).

Next, upstream has removed the doc .txt files from the tools directory
(the documentation is now inlined in the tools comments).

Finally, drop an old usage of `USE_SYSTEM_BPF_BCC=ON` as it's no longer
used by the project.

Signed-off-by: Viktor Malik <vmalik@redhat.com>
2025-10-23 14:03:32 +02:00
Viktor Malik
6d5c9dbb1c
Exclude the biolatency-kp.bt tool
The tool attaches to kprobes (__)?blk_account_io_(start|done) neither of
which exists in RHEL 10. In addition, the biolatency.bt tool does the
same thing (just with tracepoints introduced for that purpose) so it is
perfectly fine if we exclude it.

Signed-off-by: Viktor Malik <vmalik@redhat.com>
2025-10-23 13:57:48 +02:00
Viktor Malik
7c11d1b4f8
Strip bpftrace binaries
Historically, bpftrace binary could not be stripped as its symbols were
needed for the BEGIN and END probes. However, these probes are now
implemented as BPF_PROG_TYPE_RAW_TRACEPOINT and executed via
BPF_PROG_RUN. Therefore, binaries can be stripped now.

Signed-off-by: Viktor Malik <vmalik@redhat.com>
2025-10-23 13:56:26 +02:00
Viktor Malik
3ac07929ae
Rebase to upstream version 0.23.5
The version fixes a broken kstack/ustack on s390x systems.

Resolves: RHEL-96958

Signed-off-by: Viktor Malik <vmalik@redhat.com>
2025-06-16 07:26:47 +02:00
Viktor Malik
16ca238ea8
Rebase to upstream version 0.23.3
The version also comes with LLVM 20 support.

Resolves: RHEL-78919
Resolves: RHEL-81774

Signed-off-by: Viktor Malik <vmalik@redhat.com>
2025-05-26 08:15:09 +02:00
David Abdurachmanov
38d096b4f4 Enable riscv64
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
Signed-off-by: Richard W.M. Jones <rjones@redhat.com>
(cherry picked from commit d926ae5f3b3d2d847e89b84088db5cd7cf618a8b)
2025-03-14 09:47:03 +00:00
Viktor Malik
9a60ac5899
Rebase bpftrace to version 0.22.1
Resolves: RHEL-63882

The version also contains built-in support for LLVM 19 so we can drop
the extra patch.

Signed-off-by: Viktor Malik <vmalik@redhat.com>
2025-01-17 07:02:48 +01:00
Troy Dawson
1245e5c105 Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018
2024-10-29 08:17:00 -07:00
Viktor Malik
b5b30a83a6
Bump release for LLVM 19 rebase
The last commit forgot to bump release number.

Resolves: RHEL-64926

Signed-off-by: Viktor Malik <vmalik@redhat.com>
2024-10-29 09:56:41 +01:00
Viktor Malik
41965577f2
Rebuild for LLVM 19
Resolves: RHEL-64926

Signed-off-by: Viktor Malik <vmalik@redhat.com>
2024-10-29 08:47:30 +01:00
Ziqian SUN (Zamir)
22056494a9
Port gating from RHEL-9 to RHEL-10
Resolves: RHEL-45249

Signed-off-by: Ziqian SUN (Zamir) <zsun@redhat.com>
2024-06-27 07:57:34 +02:00
Viktor Malik
5892b7ffee
Rebased to version 0.21.1
The version comes with LLVM 18 support.

Also update the specfile for RHEL specifics.

Resolves: RHEL-36076
Resolves: RHEL-27729

Signed-off-by: Viktor Malik <vmalik@redhat.com>
2024-06-25 15:10:14 +02:00
Troy Dawson
9e7d5c1abb Bump release for June 2024 mass rebuild 2024-06-24 08:37:22 -07:00
Augusto Caringi
88f6c83e73 Rebased to version 0.20.1
Resolves: bz#2260098

Signed-off-by: Augusto Caringi <acaringi@redhat.com>
2024-02-12 18:51:15 -03:00
Fedora Release Engineering
f490b47257 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-23 00:46:12 +00:00
Fedora Release Engineering
08f8328653 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-19 14:40:13 +00:00
Augusto Caringi
d02856eb67 Rebased to version 0.19.1
Signed-off-by: Augusto Caringi <acaringi@redhat.com>
2023-10-04 14:47:31 -03:00
Fedora Release Engineering
779bf23243 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-19 14:53:21 +00:00
Viktor Malik
7aca5abeef
Migrate license to SPDX 2023-06-14 10:01:17 +02:00
Yaakov Selkowitz
5a0bc5babb Disable libdwarf in RHEL builds
libdwarf is unwanted in RHEL 9+.
2023-05-17 13:24:57 -04:00
Yaakov Selkowitz
fccc00f814 Rebased to version 0.18.0
Resolves: rhbz#2203910

Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
2023-05-16 11:18:19 -04:00
Augusto Caringi
3b20633aa6 Rebased to version 0.17.0
Resolves: bz#2165785

Signed-off-by: Augusto Caringi <acaringi@redhat.com>
2023-01-31 11:58:20 -03:00
Augusto Caringi
07aea6b130 Fix compile with GCC 13 update 2023-01-27 11:38:23 -03:00
Yaakov Selkowitz
80533d1363 Fix compile with GCC 13 2023-01-23 20:51:24 -05:00
Fedora Release Engineering
d0062119c7 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-18 23:08:07 +00:00
Jerome Marchand
bf348c5a27 Rebuild for libbpf 1.0
Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
2022-11-07 18:16:39 +01:00
kenneth topp
c8dcef71a3 Enable workaround for LLVM-15
This workaround allows bpftrace to be compiled against
LLVM-15.  This will have to be address properly before LLVM-16
More details from LLVM here: https://llvm.org/docs/OpaquePointers.html

Submitted upstream: https://github.com/iovisor/bpftrace/pull/2367
2022-09-26 09:49:01 -04:00
Pete Walter
f0fa9457c8 Rebuild for llvm 15 2022-09-19 01:14:46 +01:00
Augusto Caringi
d80314dcf9 Rebased to version 0.16.0
Resolves: bz#2123640

Signed-off-by: Augusto Caringi <acaringi@redhat.com>
2022-09-02 16:01:29 -03:00
Fedora Release Engineering
68425fcba9 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-20 22:13:58 +00:00
Augusto Caringi
e201737cef Rebased to version 0.15.0
Resolves: bz#2090050

Signed-off-by: Augusto Caringi <acaringi@redhat.com>
2022-07-05 14:54:40 -03:00
Jerome Marchand
afe0ddded6 Rebased to version 0.14.1
- Rebase bpftrace to the latest available version.
- Fix cmake build
- Rebuild with bcc 0.24

Resolves: bz#2036150

Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
2022-04-19 19:34:14 +02:00
Fedora Release Engineering
cd5de1157c - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-19 22:34:23 +00:00
Rafael Santos
91efd24302 Rebase to new released version 0.14
- Resolves #2016775

Signed-off-by: Rafael Santos <rdossant@redhat.com>
2021-10-25 17:09:27 +02:00
Augusto Caringi
f44446a63c Rebase to new release version: 0.13.0
Signed-off-by: Augusto Caringi <acaringi@redhat.com>
2021-08-09 16:53:56 -03:00
Rafael Santos
59719a951e Rebuilt for bcc-0.21.0
Signed-off-by: Rafael Santos <rdossant@redhat.com>
2021-08-03 18:01:26 +02:00
Fedora Release Engineering
2706e7d4d1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 18:50:42 +00:00
Fedora Release Engineering
e426cf8bca - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 13:53:29 +00:00
Jerome Marchand
7d642bfe8f Rebase bpftrace to v0.12.1
Resolves rhbz#1944232
2021-04-27 10:50:55 +02:00
Augusto Caringi
ab6dce8ec7 Rebase to new release version: 0.12.0
Signed-off-by: Augusto Caringi <acaringi@redhat.com>
2021-04-05 18:05:50 -03:00
Augusto Caringi
9c98e2e6b5 Rebase to new release version: 0.11.4
Signed-off-by: Augusto Caringi <acaringi@redhat.com>
2021-04-02 21:15:08 -03:00
Fedora Release Engineering
ff6bc428a3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 01:21:46 +00:00
Tom Stellard
9ee8c14a51 Rebuild for clang-11.1.0 2021-01-22 21:42:04 +00:00
Jeff Law
5b1b0ed06f Add missing #include for gcc-11 2020-12-04 12:41:20 -07:00
Jerome Marchand
172a6f7d2f Rebuild for LLVM 11
Resolves: bz#1897622
2020-11-13 18:36:13 +01:00
Augusto Caringi
9d461237bb Fix FTBFS and stop stripping symbols
- Fix FTBFS due to cmake wide changes #1863295
- Fix 'bpftrace symbols are stripped' #1865787
2020-08-04 15:50:39 -03:00
Fedora Release Engineering
fb6490bdf2 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-08-01 00:16:15 +00:00
Fedora Release Engineering
aad2045118 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 13:21:37 +00:00
Augusto Caringi
b6e02f42bc Rebase to new release version: 0.11.0
Signed-off-by: Augusto Caringi <acaringi@redhat.com>
2020-07-16 16:13:27 -03:00
Augusto Caringi
77f81d5c92 Rebuilt for new bcc/libbpf versions
Signed-off-by: Augusto Caringi <acaringi@redhat.com>
2020-05-19 19:06:54 -03:00