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

From: @lvying6
Reviewed-by: @hanxinke
Signed-off-by: @hanxinke
This commit is contained in:
openeuler-ci-bot 2021-12-09 04:15:12 +00:00 committed by Gitee
commit 86eebebca7
2 changed files with 97424 additions and 4 deletions

View File

@ -1,17 +1,17 @@
Name: A-Tune-BPF-Collection Name: A-Tune-BPF-Collection
Version: 1.0.0 Version: 1.0.0
Release: 1 Release: 2
License: Mulan PSL v2 License: Mulan PSL v2
Summary: BPF program collection to adjust fine-grained kernel mode to get better performance Summary: BPF program collection to adjust fine-grained kernel mode to get better performance
URL: https://gitee.com/openeuler/A-Tune-BPF-Collection URL: https://gitee.com/openeuler/A-Tune-BPF-Collection
Source0: https://gitee.com/openeuler/A-Tune-BPF-Collection/repository/archive/v%{version}.tar.gz 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 Requires: libbpf
Provides: readahead_tune Provides: readahead_tune
%define debug_package %{nil}
%description %description
A-Tune BPF Collection contains a set of BPF program which can interact with kernel in real time. A-Tune BPF Collection contains a set of BPF program which can interact with kernel in real time.
It has the following capabilities: 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 %config(noreplace) %{_sysconfdir}/sysconfig/readahead_tune.conf
%changelog %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 * Tue Nov 9 2021 lvying<lvying6@huawei.com> - 1.0.0-1
- Type:feature - Type:feature
- ID:NA - ID:NA

File diff suppressed because it is too large Load Diff