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>
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.
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>
- Fixes#1609485
- Update shebangs mangling to accommodate upstream changes
- Use new ENABLE_LLVM_SHARED
Signed-off-by: Rafael dos Santos <rdossant@redhat.com>
- Resolves#1505506 - add support for LLVM 5.0
- Resolves#1460482 - BPF module compilation issue
- Partially address #1479990 - location of man pages
- Enable ppc64(le) support without lua
- Soname versioning for libbpf by ignatenkobrain