From 708c5d7aecbcd77b506357fb09b48ca77b900e33 Mon Sep 17 00:00:00 2001 From: John Kacur Date: Fri, 9 Feb 2024 15:15:14 -0500 Subject: [PATCH] Rebase to upstream stalld-1.19.1 Resolves: RHEL-7865 Signed-off-by: John Kacur --- .gitignore | 2 ++ sources | 2 +- stalld.spec | 16 ++++++++++++++-- 3 files changed, 17 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index ff70f37..6b45432 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/sources b/sources index cab2e6c..9f85df4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (stalld-1.17.1.tar.bz2) = 78c4e1a707053cfc00792910441b672bd2af389124683ea0fd86db42636c580ce12e4c71de7f35fcb32906b8beaa90beec0c90d0b1a51cdbd14aad85f471d22a +SHA512 (stalld-1.19.1.tar.bz2) = 3b5c8d1577fafa93dea44b299578b5f05764c4aa9770ccc4b54c8d247f80ab2da27fee61f9b462af0d1df49c5bebf6cb6fc5659d12c2627256c4dfc6250bd56b diff --git a/stalld.spec b/stalld.spec index b1a8186..88ea9ea 100644 --- a/stalld.spec +++ b/stalld.spec @@ -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 - 1.19.1-1 +- Rebase to upstream stalld-1.19.1 +Resolves: RHEL-7865 + * Tue Oct 18 2022 Leah Leshchinsky - 1.17.1-1 - stalld: Fix memory leak in print_boosted_info() - utils: Check if the system is in lockdown mode