Compare commits

...

No commits in common. 'i10cs' and 'c9' have entirely different histories.
i10cs ... c9

2
.gitignore vendored

@ -1 +1 @@
SOURCES/stalld-1.19.6.tar.bz2 SOURCES/stalld-1.17.1.tar.bz2

@ -1 +1 @@
406389a8a23b5fa8c6511194461c4458120cc17e SOURCES/stalld-1.19.6.tar.bz2 449566fc8c5f8568a92ed0a04d15c31d64878741 SOURCES/stalld-1.17.1.tar.bz2

@ -1,9 +1,9 @@
Name: stalld Name: stalld
Version: 1.19.6 Version: 1.17.1
Release: 2%{?dist} Release: 1%{?dist}
Summary: Daemon that finds starving tasks and gives them a temporary boost Summary: Daemon that finds starving tasks and gives them a temporary boost
License: GPL-2.0-or-later AND GPL-2.0-only License: GPLv2
URL: https://gitlab.com/rt-linux-tools/%{name}/%{name}.git URL: https://gitlab.com/rt-linux-tools/%{name}/%{name}.git
Source0: https://gitlab.com/rt-linux-tools/%{name}/-/archive/v%{version}/%{name}-%{version}.tar.bz2 Source0: https://gitlab.com/rt-linux-tools/%{name}/-/archive/v%{version}/%{name}-%{version}.tar.bz2
@ -14,16 +14,6 @@ BuildRequires: systemd-rpm-macros
Requires: systemd Requires: systemd
%ifnarch i686
BuildRequires: bpftool
BuildRequires: clang
BuildRequires: libbpf-devel
Requires: libbpf
%endif
%define _hardened_build 1
%description %description
The stalld program monitors the set of system threads, The stalld program monitors the set of system threads,
looking for threads that are ready-to-run but have not looking for threads that are ready-to-run but have not
@ -36,11 +26,11 @@ allow 10 microseconds of runtime for 1 second of clock time.
%autosetup %autosetup
%build %build
%make_build RPMCFLAGS="%{optflags} %{build_cflags} -DVERSION="\\\"%{version}\\\""" RPMLDFLAGS="%{build_ldflags}" %make_build CFLAGS="%{optflags} %{build_cflags} -DVERSION="\\\"%{version}\\\""" LDFLAGS="%{build_ldflags}"
%install %install
%make_install DOCDIR=%{_docdir} MANDIR=%{_mandir} BINDIR=%{_bindir} DATADIR=%{_datadir} VERSION=%{version} %make_install DOCDIR=%{_docdir} MANDIR=%{_mandir} BINDIR=%{_bindir} DATADIR=%{_datadir} VERSION=%{version}
%make_install -C systemd UNITDIR=%{_unitdir} %make_install -C redhat UNITDIR=%{_unitdir}
%files %files
%{_bindir}/%{name} %{_bindir}/%{name}
@ -61,105 +51,15 @@ allow 10 microseconds of runtime for 1 second of clock time.
%systemd_postun_with_restart %{name}.service %systemd_postun_with_restart %{name}.service
%changelog %changelog
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.19.6-2 * Fri Oct 21 2022 Leah Leshchinsky <lleshchi@redhat.com> - 1.17.1-1
- Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018
* Fri Oct 25 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 1.19.6-1
- Rebuilt for MSVSphere 10
* Thu Aug 22 2024 Chris White <chwhite@redhat.com> - 1.19.6-1
- Makefile: add uninstall target
- systemd: add BE environment variable to select backend
Resolves: RHEL-34055
* Wed Jul 31 2024 Chris White <chwhite@redhat.com> - 1.19.5-2
- Fix changelog to use RPMCFLAGS, allowing for bpf to be used.
Resolves: RHEL-34055
* Thu Jul 18 2024 Chris White <chwhite@redhat.com> - 1.19.5
- Refactor Makefile to fix passing options to koji builds
- Updated compile options for annocheck hardening
- Ensure we resolve library symbols at load time (-z now) and are a Position Independent Executable (-pie). Refactored compile options to better deal with arch differences.
- Added an 'annocheck' makefile target for local checking.
Resolves: RHEL-34055
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.19.3-3
- Bump release for June 2024 mass rebuild
Resolves: RHEL-34055
* Thu Jun 13 2024 Chris White <chwhite@redhat.com> - 1.19.3
- systemd: ensure that pidfile directory exists
Resolves: RHEL-34055
* Tue May 28 2024 Chris White <chwhite@redhat.com> - 1.19.3
- Makefile: change build to use FORTIFY_SOURCE=3
- src/utils.c: fix off-by-one error in buffer allocation
Resolves: RHEL-34055
* Fri May 10 2024 Chris White <chwhite@redhat.com> - 1.19.2
- stalld.conf: Fix stalld service start fail
- throttling.c: null terminate input buffer
- stalld: free malloc'd buffer on function exit
- throttlectl.sh: use legal value for exit on fail
- Make fill_process_comm() open comm file as READ_ONLY
Resolves: RHEL-34055
* Fri Feb 09 2024 Clark Williams <williams@redhat.com> - 1.19.1
- Conditionalize BPF and queue_track build per architecture
- clean up Makefile install logic and add .bz2 to .gitignore
- modify Makefiles so install works with relative paths
- rename 'redhat' to 'systemd' and remove redhat packaging logic
- update SPDX tags to non-deprecated values
- stalld: Add -a/--affinity option
- Adding SPDX license info to each file
- man/stalld.8: change starving threshold to match code
- utils: Fix freeing of invalid pointer
- add bpftool as BuildRequires
* Mon Dec 25 2023 Clark Williams <williams@redhat.com> - 1.18.1
- queue_track: Use LIBBPF_MAJOR/MINOR_VERSION to detect deprecated functions
- utils: Close file descriptor
- stalld: Fix function name of daemonize()
- docs: Fix typo in the manual
- queue_track: Use bpf_map__resize on older libbpf versions
- utils: Let tgid to arrive at the fill proccess comm
- stalld: Fix log message on idle detection
- stalld: Add -b/--backend option
- stalld: Add queue track eBPF based backend
- stalld: Add fill_process_comm helper
- stalld: Include regex.h on stalld.h
- stalld: Get nr of cpus only once
- stalld: Add the backend abstraction
- sched_debug: Move sched debug functions to an specific file
* Thu Dec 21 2023 Clark Williams <williams@redhat.com> - 1.17.1
- stalld: Fix memory leak in print_boosted_info() - stalld: Fix memory leak in print_boosted_info()
- utils: Check if the system is in lockdown mode - utils: Check if the system is in lockdown mode
- stalld: print process comm and cpu when boosting - stalld: print process comm and cpu when boosting
- stalld: Detect runnable dying tasks Resolves: rhbz#2136572
- stalld: Fix nr_periods calculation in do_fifo_boost()
- stalld.conf: Lower threshold to 20
- utils.c: Exit early if enabling HRTICK fails when using SCHED_DEADLINE
- Add support for loongarch
* Mon Dec 18 2023 Clark Williams <williams@redhat.com> - 1.16.7
- fix to sync versions
* Mon Dec 18 2023 Clark Williams <williams@redhat.com> - 1.16.6
- remove un-needed BuildRequire for bpftool
* Mon Dec 18 2023 Clark Williams <williams@redhat.com> - 1.16.5
- changed package license to match SPDX values
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.16-4 * Thu Jul 14 2022 John Kacur <jkacur@redhat.com> - 1.17-1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - rebase to upstream v1.17
Resolves:rhbz#2107275
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.16-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.16-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Thu Mar 31 2022 Fernando Pacheco <fpacheco@redhat.com> - 1.16-1 * Thu Mar 31 2022 Fernando Pacheco <fpacheco@redhat.com> - 1.16-1
- stald/utils: Space, lines and voids clenaups - stald/utils: Space, lines and voids clenaups
@ -168,9 +68,7 @@ Resolves: RHEL-34055
- src/utils: Comments cleanup - src/utils: Comments cleanup
- src/throttling: Comments cleanup - src/throttling: Comments cleanup
- src/stalld.h Comments cleanup - src/stalld.h Comments cleanup
Resolves: rhbz#2068550
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.15-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Mon Nov 15 2021 Fernando Pacheco <fpacheco@redhat.com> - 1.15-1 * Mon Nov 15 2021 Fernando Pacheco <fpacheco@redhat.com> - 1.15-1
- stalld: Fix incorrect open() return value checks - stalld: Fix incorrect open() return value checks
@ -180,6 +78,11 @@ Resolves: RHEL-34055
- tests: Fix uninitialized value action.sa_mask - tests: Fix uninitialized value action.sa_mask
- utils: Bail if malloc() returns null in parse_cpu_list() - utils: Bail if malloc() returns null in parse_cpu_list()
- stalld: Use correct format specifier for long types - stalld: Use correct format specifier for long types
Resolves: rhbz#2016010
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1.14.1-2
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Mon Jul 19 2021 Fernando Pacheco <fpacheco@redhat.com> - 1.14.1-1 * Mon Jul 19 2021 Fernando Pacheco <fpacheco@redhat.com> - 1.14.1-1
- stalld: Coding style cleanup - stalld: Coding style cleanup
@ -192,7 +95,7 @@ Resolves: RHEL-34055
- stalld: Adjust variables in parse_old_task_format() - stalld: Adjust variables in parse_old_task_format()
- utils.c: Use MAX_PATH for pidfile - utils.c: Use MAX_PATH for pidfile
- stalld.c: Remove variable declaration from the middle of the function - stalld.c: Remove variable declaration from the middle of the function
- stalld: Respect -l option in single threaded mode - stalld: Respect -l option in single threaded mode (1983103)
- utils: s/try_to_open_file/check_file_exists/ - utils: s/try_to_open_file/check_file_exists/
- utils: use check_file_exists in setup_hr_tick() - utils: use check_file_exists in setup_hr_tick()
- utils: Check for the new sched_features path - utils: Check for the new sched_features path
@ -230,6 +133,9 @@ Resolves: RHEL-34055
- stalld: Support denylisting of tasks in stalld - stalld: Support denylisting of tasks in stalld
- src/utils: use right argument for warning printf - src/utils: use right argument for warning printf
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.9-2
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Wed Feb 17 2021 Clark Williams <williams@redhat.com> - 1.9-2 * Wed Feb 17 2021 Clark Williams <williams@redhat.com> - 1.9-2
- update to pick up latest gating test - update to pick up latest gating test

Loading…
Cancel
Save