Commit Graph

74 Commits

Author SHA1 Message Date
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
618db53394 Add missing patch file
Signed-off-by: Rafael dos Santos <rdossant@redhat.com>
2020-09-17 16:47:57 +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
Tom Stellard
bd587e6681 Link against libclang-cpp.so 2020-01-07 01:01:56 +00:00
Rafael dos Santos
e33c6d6303 Rebase to latest upstream version
- Resolves #1758417

Signed-off-by: Rafael dos Santos <rdossant@redhat.com>
2020-01-02 23:16:52 +01:00
Jiri Olsa
ff14516bcc Increase the release properly 2019-12-05 01:14:15 +01:00
Jiri Olsa
7e1938d0c3 Build bcc with libbpf package
Now when we have libbpf packaged we want it to be used to build bcc,
instead of libbpf Github repo, which is downloaded during the build.

The bcc still produces libbcc.so/libbcc.a with libbpf code inside,
so nothing changes there.. apart from that they are built from libbpf
package now instead of libbpf Github repo

The addition is libbcc-no-libbpf.so library, which will be used in
applications like bpftrace which needs to link libbpf.so by itself
for other features.

Signed-off-by: Jiri Olsa <jolsa@redhat.com>
2019-12-05 00:57:23 +01:00
Rafael dos Santos
5b61c2fecc Rebase to latest upstream version
- Resolves #1758417

Signed-off-by: Rafael dos Santos <rdossant@redhat.com>
2019-10-07 09:06:22 +02:00
Miro Hrončok
3217246c3f Rebuilt for Python 3.8.0rc1 (#1748018) 2019-10-03 13:51:00 +02:00
Miro Hrončok
be04df2cbb Rebuilt for Python 3.8 2019-08-19 10:10:38 +02:00
Fedora Release Engineering
e29a87099a - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-24 19:06:40 +00:00
Rafael dos Santos
562f7aca78 Rebase to new released version
- Resolves #1714902

Signed-off-by: Rafael dos Santos <rdossant@redhat.com>
2019-05-30 12:30:07 +02:00
Rafael dos Santos
3ee919512d Rebase to new release
- Resolves #1686626
- Also renamed libbpf to libbcc_bpf

Signed-off-by: Rafael dos Santos <rdossant@redhat.com>
2019-04-25 13:47:37 +02:00
Neal Gompa
83a8e7cfce Make Python 3 bindings package noarch and apply small cleanups to spec 2019-04-22 14:57:23 -04:00
Rafael dos Santos
5e0a3fc5f2 Add s390x support
- Resolves #1679310

Signed-off-by: Rafael dos Santos <rdossant@redhat.com>
2019-03-19 12:16:23 +01:00
Rafael dos Santos
2f05fca191 Add aarch64 support (#1679310)
Signed-off-by: Rafael dos Santos <rdossant@redhat.com>
2019-03-01 17:36:29 +01:00
Fedora Release Engineering
f390c7c0c9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-01-31 14:28:12 +00:00
Rafael dos Santos
82f363a573 fixup! Delete obsolete patches
Signed-off-by: Rafael dos Santos <rdossant@redhat.com>
2019-01-17 14:02:31 +01:00
Rafael dos Santos
cf16f18420 Rebase to new release version
Signed-off-by: Rafael dos Santos <rdossant@redhat.com>
2019-01-17 13:58:53 +01:00
Rafael dos Santos
5db0dffb68 Resolves #1634684 - usdt probes failing
Signed-off-by: Rafael dos Santos <rdossant@redhat.com>
2018-11-01 11:29:38 +01:00
Rafael dos Santos
ef7955a9b3 UTF-8 encoding and python3 fixes
- Resolves: #1516678
- Resolves: #1637515

Signed-off-by: Rafael dos Santos <rdossant@redhat.com>
2018-10-22 12:33:14 +02:00
Rafael dos Santos
2d10bad522 Resolves #1636293 - convert bytes to str in uflow
Signed-off-by: Rafael dos Santos <rdossant@redhat.com>
2018-10-06 09:05:15 +02:00
Rafael dos Santos
29228430fc Rebase to new released version
Signed-off-by: Rafael dos Santos <rdossant@redhat.com>
2018-09-25 15:00:34 +02:00
Rafael Fonseca
342e06f749 Fix typo when mangling shebangs
Signed-off-by: Rafael Fonseca <r4f4rfs@gmail.com>
2018-08-22 13:34:50 +02:00
Rafael dos Santos
1b1b2ecd02 Rebase to new release version
- Fixes #1609485
- Update shebangs mangling to accommodate upstream changes
- Use new ENABLE_LLVM_SHARED

Signed-off-by: Rafael dos Santos <rdossant@redhat.com>
2018-08-16 13:55:42 +02:00
Fedora Release Engineering
1e75eee2c1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-12 20:58:59 +00:00