Rebase to upstream stalld-1.19.1

Resolves: RHEL-7865
Signed-off-by: John Kacur <jkacur@redhat.com>
This commit is contained in:
John Kacur 2024-02-09 15:15:14 -05:00
parent 25a9788c8e
commit 708c5d7aec
3 changed files with 17 additions and 3 deletions

2
.gitignore vendored
View File

@ -11,3 +11,5 @@
/stalld-1.16.tar.bz2
/stalld-1.17.tar.xz
/stalld-1.17.1.tar.bz2
/stalld-v1.19.1.tar.bz2
/stalld-1.19.1.tar.bz2

View File

@ -1 +1 @@
SHA512 (stalld-1.17.1.tar.bz2) = 78c4e1a707053cfc00792910441b672bd2af389124683ea0fd86db42636c580ce12e4c71de7f35fcb32906b8beaa90beec0c90d0b1a51cdbd14aad85f471d22a
SHA512 (stalld-1.19.1.tar.bz2) = 3b5c8d1577fafa93dea44b299578b5f05764c4aa9770ccc4b54c8d247f80ab2da27fee61f9b462af0d1df49c5bebf6cb6fc5659d12c2627256c4dfc6250bd56b

View File

@ -1,5 +1,5 @@
Name: stalld
Version: 1.17.1
Version: 1.19.1
Release: 1%{?dist}
Summary: Daemon that finds starving tasks and gives them a temporary boost
@ -14,6 +14,14 @@ BuildRequires: systemd-rpm-macros
Requires: systemd
%ifnarch i686
BuildRequires: bpftool
BuildRequires: clang
BuildRequires: libbpf-devel
Requires: libbpf
%endif
%description
The stalld program monitors the set of system threads,
looking for threads that are ready-to-run but have not
@ -30,7 +38,7 @@ allow 10 microseconds of runtime for 1 second of clock time.
%install
%make_install DOCDIR=%{_docdir} MANDIR=%{_mandir} BINDIR=%{_bindir} DATADIR=%{_datadir} VERSION=%{version}
%make_install -C redhat UNITDIR=%{_unitdir}
%make_install -C systemd UNITDIR=%{_unitdir}
%files
%{_bindir}/%{name}
@ -51,6 +59,10 @@ allow 10 microseconds of runtime for 1 second of clock time.
%systemd_postun_with_restart %{name}.service
%changelog
* Fri Feb 09 2024 John Kacur <jkacur@redhat.com> - 1.19.1-1
- Rebase to upstream stalld-1.19.1
Resolves: RHEL-7865
* Tue Oct 18 2022 Leah Leshchinsky <lleshchi@redhat.com> - 1.17.1-1
- stalld: Fix memory leak in print_boosted_info()
- utils: Check if the system is in lockdown mode