update to handle old /proc/sched_debug format; minor code cleanups

This commit is contained in:
Clark Williams 2020-11-03 11:25:21 -06:00
parent b02e12998b
commit 404013df54
3 changed files with 14 additions and 2 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
/stalld-1.0.tar.xz
/stalld-1.1.tar.xz
/stalld-1.2.tar.xz

View File

@ -1 +1 @@
SHA512 (stalld-1.1.tar.xz) = e53522cc9d820829e451c5edb74aaaf2715a4eed0b4cd37948239d3464a20161574a1788b21432fdd40f91e4d54422c1a2e9583a992383e81d68c1a8207b4570
SHA512 (stalld-1.2.tar.xz) = 2416cadc79afa5585c6bfa15cc9916b09d1d98a3d86713f4757755e8b402dd8e2890e864cfd5827ecfe93d3ee2fa0da01a3d8d8b427029e4d10557627047cf40

View File

@ -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 <williams@redhat.com> - 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 <williams@redhat.com> - 1.1-1
- Fix an option in README.md; consistency in user facing docs.
- Makefile: add 'static' target to link stalld statically