import bpftrace-0.11.1-3.el8

This commit is contained in:
CentOS Sources 2021-02-02 06:11:35 +00:00 committed by Andrew Lukoshko
parent 6be5d9af9f
commit 0ac59ee90b
1 changed files with 9 additions and 2 deletions

View File

@ -2,7 +2,7 @@
Name: bpftrace Name: bpftrace
Version: 0.11.1 Version: 0.11.1
Release: 2%{?dist} Release: 3%{?dist}
Summary: High-level tracing language for Linux eBPF Summary: High-level tracing language for Linux eBPF
License: ASL 2.0 License: ASL 2.0
@ -28,6 +28,9 @@ BuildRequires: zlib-devel
BuildRequires: llvm-devel BuildRequires: llvm-devel
BuildRequires: clang-devel BuildRequires: clang-devel
BuildRequires: bcc-devel BuildRequires: bcc-devel
BuildRequires: libbpf-devel
BuildRequires: libbpf-static
BuildRequires: binutils-devel
%if %{with llvm_static} %if %{with llvm_static}
BuildRequires: llvm-static BuildRequires: llvm-static
@ -58,7 +61,8 @@ and predecessor tracers such as DTrace and SystemTap
%cmake . \ %cmake . \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DBUILD_TESTING:BOOL=OFF \ -DBUILD_TESTING:BOOL=OFF \
-DBUILD_SHARED_LIBS:BOOL=OFF -DBUILD_SHARED_LIBS:BOOL=OFF \
-DLIBBCC_LIBRARIES:PATH=%{_libdir}/libbcc-no-libbpf.so
%make_build %make_build
@ -99,6 +103,9 @@ find %{buildroot}%{_datadir}/%{name}/tools -type f -exec \
%endif %endif
%changelog %changelog
* Thu Jan 28 2021 Jerome Marchand <jmarchan@redhat.com> - 0.11.1-3
- Add missing libbpf and binutils-dev dependencies
* Wed Nov 11 2020 Jerome Marchand <jmarchan@redhat.com> - 0.11.1-2 * Wed Nov 11 2020 Jerome Marchand <jmarchan@redhat.com> - 0.11.1-2
- Fix statsnoop and opensnoop on aarch64 again - Fix statsnoop and opensnoop on aarch64 again