Commit Graph

95 Commits

Author SHA1 Message Date
Jerome Marchand
267b636ed6 Don't use -no-pie flag to compile bcc-lua
The flag was added upstream to fix a compilation issue on Ubuntu,
seemingly because of incompatibility with static libs that were not
buil with PIE support. There is no such compilation issue of Fedora
and we should use Fedora default flags whenevrpossible. Building
without PIE cause annocheck to complain about the bcc-lua executable.
2024-02-13 11:55:49 +01:00
Jerome Marchand
110e48716f Rebase bcc to v0.29.1 and enable libbpf-tools on s390x
Also fix bpf-bindsnoop, ttysnoop and sync libbpf.

Resolves: bz#2253688
Resolves: bz#2249458
2024-02-05 14:52:12 +01:00
Fedora Release Engineering
eae885cfcc Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-23 00:11:38 +00:00
Fedora Release Engineering
5316e8fe8c Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-19 14:14:52 +00:00
Jerome Marchand
2cce202bb4 Rebase to the latest version
Rebase bcc to bcc-0.28.0

Also fix bio tools and slabratetop

Resolves: bz#2218440
Resolves: bz#2184370
Resolves: bz#2217179

Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
2023-08-10 19:14:12 +02:00
Fedora Release Engineering
030dab2cb0 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-19 14:26:22 +00:00
Python Maint
bbb32394a8 Rebuilt for Python 3.12 2023-06-13 20:32:20 +02:00
Jerome Marchand
90573a3f18 SPDX license migration 2023-06-06 10:34:48 +02:00
Jerome Marchand
fa672ef8dd Rebase to the latest version
Rebase bcc to bcc-0.27.0.

Resolves: bz#2117708

Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
2023-04-21 10:13:19 +02:00
Jerome Marchand
07adf8a6f2 Remove dependency on the deprecated distutils
Also fix fedpkg lint warnings: bogus date and
macro-in-comment.

Resolves: bz#2155029

Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
2023-04-03 17:24:31 +02:00
Jerome Marchand
07de9f90bf Rebase to the latest version
Rebase bcc to v0.26.0, fix slabratetop and readahead
issues.

Resolves: rhbz#2117708

Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
2023-03-13 15:12:35 +01:00
Fedora Release Engineering
4489dbca3c Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-18 22:43:50 +00:00
Jerome Marchand
6709eeb1f8 Rebase to bcc-0.25.0
Rebase bcc to 0.25.0. Also fixes some conversion errors raised by
clang 15 (treated as warning before) and rebuild on libbpf 1.0.

Resolves bz#2117708

Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
2022-11-07 17:09:27 +01:00
Fedora Release Engineering
8d7fa3d949 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-20 21:50:09 +00:00
Python Maint
73b0ea287d Rebuilt for Python 3.11 2022-06-13 14:57:41 +02:00
Jerome Marchand
a7f5f38c0d Rebase to the latest version
Rebase bcc to v0.24 and misc fixes:
- Fix cmake build
- Add explicit Requires: bcc for bcc-tools
- Remove deprecated python_provide macro

Resolves #2023581

Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
2022-04-19 11:44:11 +02:00
Fedora Release Engineering
b3e2fbac49 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-19 22:11:40 +00:00
Rafael dos Santos
38b4737bb9 Rebuild for LLVM 13
Signed-off-by: Rafael dos Santos <rdossant@redhat.com>
2021-10-25 16:22:29 +02:00
Rafael dos Santos
122cc03a55 Rebase to latest upstream release
- Resolves #2004815

Signed-off-by: Rafael dos Santos <rdossant@redhat.com>
2021-09-17 09:19:03 +02:00
Rafael dos Santos
cbb25c63d3 Rebase to latest upstream version
- Resolves #1987381
- Resolves #1983754
- Add libdebuginfod support

Signed-off-by: Rafael dos Santos <rdossant@redhat.com>
2021-08-03 17:17:29 +02:00
Fedora Release Engineering
d3b3b88728 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 18:27:49 +00:00
Python Maint
8e957d72b7 Rebuilt for Python 3.10 2021-06-04 20:00:13 +02:00
Rafael dos Santos
968096da7f Don't require bcc-tools by default
bcc-tools brings in python and kernel-devel which are undesired deps
when performing minimal footprint installations.

- Resolves #1966953

Signed-off-by: Rafael dos Santos <rdossant@redhat.com>
2021-06-02 16:23:07 +02:00
Jerome Marchand
2221774aa0 Build bcc from standard sources
We provide libbpf package and bcc is already link to it. We don't need
to bother with bcc-src-with-submodule.tar.gz source file.

Libbpf tools still build and link to the submodule libbpf package, so
make sure that libbpf tools are linked to the externel libbpf library.
2021-05-18 12:02:20 +02:00
Rafael dos Santos
7b7ddeba41 Rebase to latest upstream version
- Resolves #1957727

Signed-off-by: Rafael dos Santos <rdossant@redhat.com>
2021-05-18 10:47:49 +02:00
Jeff Law
79e2eb3237 Re-enable LTO 2021-05-11 09:30:34 -06:00
Jiri Olsa
9286e914da Keep kernel-devel as weak dependency 2021-05-04 16:21:44 +02:00
Jiri Olsa
84e663ef0f Remove kernel-devel dependency
The in-kernel headers have been enabled (CONFIG_IKHEADERS=m),
we don't need the kernel-devel package to be installed
2021-04-30 13:22:33 +02:00
Rafael dos Santos
c368589554 Add tar to bcc-tools requirements
When the correct kernel header is not readily found, bcc tries to
extract it from kheaders module, a process which at some point involves
a tar command.

Resolves #1869006

Signed-off-by: Rafael dos Santos <rdossant@redhat.com>
2021-04-27 19:14:16 +02:00
Jiri Olsa
77fb46b8dd Add libbpf-tools subpackage
Adding libbpf-tools subpackage. It was discussed and agreed
to package libbpf-tools under 'libbpf-tool' name and add 'bpf-'
prefix to binaries, please check in here:
  https://github.com/iovisor/bcc/pull/3263

At the moment the package has following binaries:

  $ rpm -ql libbpf-tools
  /usr/sbin/bpf-biolatency
  /usr/sbin/bpf-biopattern
  /usr/sbin/bpf-biosnoop
  /usr/sbin/bpf-biostacks
  /usr/sbin/bpf-bitesize
  /usr/sbin/bpf-cachestat
  /usr/sbin/bpf-cpudist
  /usr/sbin/bpf-cpufreq
  /usr/sbin/bpf-drsnoop
  /usr/sbin/bpf-execsnoop
  /usr/sbin/bpf-filelife
  /usr/sbin/bpf-funclatency
  /usr/sbin/bpf-hardirqs
  /usr/sbin/bpf-llcstat
  /usr/sbin/bpf-numamove
  /usr/sbin/bpf-opensnoop
  /usr/sbin/bpf-readahead
  /usr/sbin/bpf-runqlat
  /usr/sbin/bpf-runqlen
  /usr/sbin/bpf-runqslower
  /usr/sbin/bpf-softirqs
  /usr/sbin/bpf-syscount
  /usr/sbin/bpf-tcpconnect
  /usr/sbin/bpf-tcpconnlat
  /usr/sbin/bpf-vfsstat
  /usr/sbin/bpf-xfsslower
  ...

Signed-off-by: Jiri Olsa <jolsa@redhat.com>
2021-03-30 19:36:15 +02:00
Jiri Olsa
d551d2b517 Rebase to latest upstream 0.19.0
Removed libbcc-no-libbpf.so library.

Before:
  libbcc.so           - libbpf is statically compiled in
  libbcc-no-libbpf.so - libbpf is dynamically linked

Now:
  libbcc.so           - libbpf is dynamically linked

Signed-off-by: Jiri Olsa <jolsa@redhat.com>
2021-03-29 13:43:34 +02:00
Jerome Marchand
83cec4e588 Don't build with lua on RHEL
We don't want to pull luajit in RHEL 9.
2021-02-22 16:15:56 +01:00
Fedora Release Engineering
c67067da05 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 01:00:24 +00:00
Tom Stellard
1ce75a6b06 Rebuild for clang-11.1.0 2021-01-22 21:42:00 +00:00
Rafael dos Santos
5b6fcdbef5 Disable LTO on armv7hl
Signed-off-by: Rafael dos Santos <rdossant@redhat.com>
2021-01-05 23:25:41 +01:00
Rafael dos Santos
2d1f157e90 Rebase to latest upstream
- Resolves #1912875

Signed-off-by: Rafael dos Santos <rdossant@redhat.com>
2021-01-05 21:42:22 +01:00
Rafael dos Santos
cd0f90c0a5 Rebase to latest upstream
- Resolves #1871417

Signed-off-by: Rafael dos Santos <rdossant@redhat.com>
2020-10-30 11:52:26 +01:00
Jerome Marchand
b3f9cd66d8 Rebuild for LLVM 11.0.0-rc6
Resolves: #1885264
2020-10-12 17:11:26 +02:00
Rafael dos Santos
5f38c814b5 Enable build for armv7hl
Signed-off-by: Rafael dos Santos <rdossant@redhat.com>
2020-09-17 16:22:22 +02:00
Rafael dos Santos
6a63c644a3 Rebase to latest upstream
- Resolves #1871417
- Resolves #1869065

Signed-off-by: Rafael dos Santos <rdossant@redhat.com>
2020-08-23 11:29:06 +02:00
Rafael dos Santos
04740e9e15 Fix cmake build
- Resolves #1863243

Signed-off-by: Rafael dos Santos <rdossant@redhat.com>
2020-08-04 10:52:11 +02:00
Fedora Release Engineering
9ceddbe0dd - 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:05:51 +00:00
Fedora Release Engineering
5521752e2f - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 12:58:53 +00:00
Tom Stellard
29a0b81da7 Drop llvm-static dependency
https://docs.fedoraproject.org/en-US/packaging-guidelines/#_statically_linking_executables
2020-07-09 18:31:24 +00:00
Rafael dos Santos
b7e33d2e55 Reinstate function needed by bpftrace-0.10
bpftrace still relies on `bpf_detach_kfunc` which was removed in
bcc-0.15.0. It doesn't do anything, so there is no harm on adding it
back until bpftrace is updated.

Signed-off-by: Rafael dos Santos <rdossant@redhat.com>
2020-07-02 11:18:22 +02:00
Rafael dos Santos
2fbe0999a1 Rebase to latest upstream version
- Resolves #1849239

Signed-off-by: Rafael dos Santos <rdossant@redhat.com>
2020-06-23 11:19:43 +02:00
Miro Hrončok
59fa6d49c6 Rebuilt for Python 3.9 2020-05-26 02:41:26 +02:00
Rafael dos Santos
4e6ce6fc67 Rebase to latest upstream version
- Resolves #1826281

Signed-off-by: Rafael dos Santos <rdossant@redhat.com>
2020-05-07 11:31:52 +02:00
Rafael dos Santos
4c8c8b7885 Rebase to latest upstream version
- Resolves #1805072

Signed-off-by: Rafael dos Santos <rdossant@redhat.com>
2020-02-26 22:47:05 +01:00
Fedora Release Engineering
9999aacebb - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-28 12:47:02 +00:00