代码拉取完成,页面将自动刷新
同步操作将从 openEuler/A-Tune-BPF-Collection 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Name: A-Tune-BPF-Collection
Version: 0.1
Release: 1
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
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:
readahead_tune: trace file reading characteristics, then ajust file read mode to get maximum I/O efficency
%prep
%autosetup -n %{name}-%{version} -p1
%build
make %{?_smp_mflags}
%install
install -D -p -m 0755 readahead_tune %{buildroot}/%{_sbindir}/readahead_tune
install -D -p -m 0644 readahead_tune.bpf.o %{buildroot}/%{_sbindir}/readahead_tune.bpf.o
install -D -p -m 0755 start_readahead_tune %{buildroot}/%{_sbindir}/start_readahead_tune
install -D -p -m 0755 stop_readahead_tune %{buildroot}/%{_sbindir}/stop_readahead_tune
install -D -p -m 0644 readahead_tune.conf %{buildroot}%{_sysconfdir}/sysconfig/readahead_tune.conf
%files
%{_sbindir}/readahead_tune
%{_sbindir}/readahead_tune.bpf.o
%{_sbindir}/start_readahead_tune
%{_sbindir}/stop_readahead_tune
%config(noreplace) %{_sysconfdir}/sysconfig/readahead_tune.conf
%changelog
* Tue Nov 9 2021 lvying<lvying6@huawei.com> - 0.1-1
- Type:feature
- ID:NA
- SUG:NA
- DESC: Init A-Tune-BPF-Collection repo and add readahead_tune service
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。