Skip to content
Merged

V3 #10

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions buildrpm/bpftune.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# BPF-based auto-tuning SPEC file

%define name bpftune
%define rel 2
%define rel 3
%define release %{rel}%{?dist}
%define version 0.1
%global _unitdir /usr/lib/systemd/system/
Expand Down Expand Up @@ -70,7 +70,9 @@ rm -Rf %{buildroot}
%license LICENSE.txt

%changelog
* Tue May 30 2023 Alan Maguire <[email protected]> - 0.1-3
- Fix timeout retry logic in libbpftune. [Orabug: 35385703]
* Wed May 24 2023 Alan Maguire <[email protected]> - 0.1-2
- Spec file reviewed [Orabug: 35385703]
- Spec file reviewed.
* Mon May 30 2022 Alan Maguire <[email protected]> - 0.1-1
- Initial packaging support
2 changes: 1 addition & 1 deletion src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ ifeq ($(BPFTUNE_VERSION),)
BPFTUNE_VERSION := $(KERNEL_REL)
endif

VERSION = 0.1.2
VERSION = 0.1.3
VERSION_SCRIPT := libbpftune.map

CFLAGS = -fPIC -Wall -Wextra -march=native -g -I../include -std=c99
Expand Down
2 changes: 1 addition & 1 deletion src/libbpftune.c
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@ struct bpftuner *bpftuner_init(const char *path)
tuner->handle = dlopen(path, RTLD_NOW | RTLD_GLOBAL);
if (tuner->handle)
break;
usleep(100);
usleep(1000);
}
bpftune_cap_drop();
if (!tuner->handle) {
Expand Down