1 Star 0 Fork 2

Lv Ying/A-Tune-BPF-Collection

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
atune_bpf_collection.spec 1.57 KB
一键复制 编辑 原始数据 按行查看 历史
Lv Ying 提交于 2021-12-08 09:02 +08:00 . readahead_tune: bugfix and code review
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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/lvying6/A-Tune-BPF-Collection.git
git@gitee.com:lvying6/A-Tune-BPF-Collection.git
lvying6
A-Tune-BPF-Collection
A-Tune-BPF-Collection
master

搜索帮助