From 6001a4dc7a62f0f177fdd9a2b62f83884acc32b0 Mon Sep 17 00:00:00 2001 From: Clark Williams Date: Tue, 3 Nov 2020 11:25:21 -0600 Subject: [PATCH] update to handle old /proc/sched_debug format; minor code cleanups --- .gitignore | 1 + sources | 2 +- stalld.spec | 13 ++++++++++++- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index bb22059..0aa186e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /stalld-1.0.tar.xz /stalld-1.1.tar.xz +/stalld-1.2.tar.xz diff --git a/sources b/sources index ceaad57..84dca07 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (stalld-1.1.tar.xz) = e53522cc9d820829e451c5edb74aaaf2715a4eed0b4cd37948239d3464a20161574a1788b21432fdd40f91e4d54422c1a2e9583a992383e81d68c1a8207b4570 +SHA512 (stalld-1.2.tar.xz) = 2416cadc79afa5585c6bfa15cc9916b09d1d98a3d86713f4757755e8b402dd8e2890e864cfd5827ecfe93d3ee2fa0da01a3d8d8b427029e4d10557627047cf40 diff --git a/stalld.spec b/stalld.spec index c1526c0..ab93b05 100644 --- a/stalld.spec +++ b/stalld.spec @@ -1,5 +1,5 @@ Name: stalld -Version: 1.1 +Version: 1.2 Release: 1%{?dist} Summary: Daemon that finds starving tasks and gives them a temporary boost @@ -50,6 +50,17 @@ allow 10 microseconds of runtime for 1 second of clock time. %systemd_postun_with_restart %{name}.service %changelog +* Mon Nov 2 2020 Clark Williams - 1.2-1 +- utils.c: added info() functions +- detect and correctly parse old-style /proc/sched_debug +- src/stalld: Fix an retval check while reading sched_debug +- src/throttling: Fix a compilation warning +- ensure we only count task lines in old-format sched_debug info +- Add comments, clean up trailing whitespace +- src/utils: Fix runtime parameters check +- stalld: Do not take actions if log_only is set +- remove warning from parse_old_task_format + * Tue Oct 27 2020 Clark Williams - 1.1-1 - Fix an option in README.md; consistency in user facing docs. - Makefile: add 'static' target to link stalld statically