use generated vmlinux.h instead of bpftool gen vmlinux.h in compile env

Signed-off-by: Lv Ying <lvying6@huawei.com>
This commit is contained in:
Lv Ying 2021-12-08 15:32:43 +08:00
parent 53d8fa0080
commit b682a62abb
2 changed files with 97424 additions and 4 deletions

View File

@ -1,17 +1,17 @@
Name: A-Tune-BPF-Collection
Version: 1.0.0
Release: 1
Release: 2
License: Mulan PSL v2
Summary: BPF program collection to adjust fine-grained kernel mode to get better performance
URL: https://gitee.com/openeuler/A-Tune-BPF-Collection
Source0: https://gitee.com/openeuler/A-Tune-BPF-Collection/repository/archive/v%{version}.tar.gz
BuildRequires: clang, llvm, libbpf-devel, bpftool, dwarves
Patch1: use-generated-vmlinux.h-instead-of-bpftool-gen-vmlin.patch
BuildRequires: clang, llvm, libbpf-devel
Requires: libbpf
Provides: readahead_tune
%define debug_package %{nil}
%description
A-Tune BPF Collection contains a set of BPF program which can interact with kernel in real time.
It has the following capabilities:
@ -38,6 +38,12 @@ install -D -p -m 0644 readahead_tune.conf %{buildroot}%{_sysconfdir}/sysconfig/r
%config(noreplace) %{_sysconfdir}/sysconfig/readahead_tune.conf
%changelog
* Wed Dec 8 2021 lvying<lvying6@huawei.com> - 1.0.0-2
- Type:bugfix
- ID:NA
- SUG:NA
- DESC: use generated vmlinux.h instead of bpftool gen vmlinux.h in compile env
* Tue Nov 9 2021 lvying<lvying6@huawei.com> - 1.0.0-1
- Type:feature
- ID:NA

File diff suppressed because it is too large Load Diff