Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package stalld for openSUSE:Factory checked in at 2025-09-05 21:43:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/stalld (Old) and /work/SRC/openSUSE:Factory/.stalld.new.1977 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "stalld" Fri Sep 5 21:43:58 2025 rev:4 rq:1302888 version:1.20.3 Changes: -------- --- /work/SRC/openSUSE:Factory/stalld/stalld.changes 2025-03-12 20:13:50.171808161 +0100 +++ /work/SRC/openSUSE:Factory/.stalld.new.1977/stalld.changes 2025-09-05 21:44:35.971896762 +0200 @@ -1,0 +2,39 @@ +Tue Aug 19 17:11:49 UTC 2025 - Marco Chiappero <[email protected]> + +- Add run-dir.patch: + * let the systemd unit file create /run/stalld with the proper + permissions + +------------------------------------------------------------------- +Mon Aug 18 19:10:36 UTC 2025 - Marco Chiappero <[email protected]> + +- Add systemd-execstart.patch: + * fix "Service has more than one ExecStart= setting" error + introduced in 9f2e4fc3 +- Add util-linux to the dependencies due to chrt + +------------------------------------------------------------------- +Mon Aug 18 13:17:38 UTC 2025 - Dirk Müller <[email protected]> + +- update to 1.20.3: + * stalld.service: Fix failure to set FIFO scheduling class + * bpf: Improve task tracking in sched_switch + * bpf/stalld: Introduce compute_ctxswc helper and update ctxswc + on sched_switch + * stalld: Automatically switch to log-only mode if DL-server + present + * bpf/stalld: Implement and use find_queued_task helper in + dequeue_task + * bpf/stalld: Introduce and use for_each_task_entry/ + for_each_queued_task macros + * stalld: sched_attr: Do not define for glibc >= 2.41 + * stalld: Refactor verbose logging with dedicated macros + * bpf/stalld: Introduce generic 'log' macro for BPF debug prints + * bpf/stalld: Unify and generalize debug macro to DEBUG_STALLD + +------------------------------------------------------------------- +Mon Aug 18 10:28:10 UTC 2025 - Dirk Müller <[email protected]> + +- build with BPF support on aarch64/x86_64 + +------------------------------------------------------------------- Old: ---- stalld-v1.19.8.tar.bz2 New: ---- run-dir.patch stalld-1.20.3.tar.gz systemd-execstart.patch ----------(New B)---------- New: - Add run-dir.patch: * let the systemd unit file create /run/stalld with the proper New: - Add systemd-execstart.patch: * fix "Service has more than one ExecStart= setting" error ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ stalld.spec ++++++ --- /var/tmp/diff_new_pack.RTSGyr/_old 2025-09-05 21:44:36.651925375 +0200 +++ /var/tmp/diff_new_pack.RTSGyr/_new 2025-09-05 21:44:36.655925544 +0200 @@ -1,7 +1,7 @@ # # spec file for package stalld # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,15 +17,25 @@ Name: stalld -Version: 1.19.8 +Version: 1.20.3 Release: 0 Summary: Daemon that finds starving tasks and gives them a temporary boost License: GPL-2.0-only AND GPL-2.0-or-later URL: https://gitlab.com/rt-linux-tools/%{name}/%{name}.git -Source0: https://gitlab.com/rt-linux-tools/stalld/-/archive/v%{version}/stalld-v%{version}.tar.bz2 +Source0: https://git.kernel.org/pub/scm/utils/stalld/stalld.git/snapshot/stalld-%{version}.tar.gz +Patch0: systemd-execstart.patch +Patch1: run-dir.patch +%ifarch aarch64 x86_64 +BuildRequires: bpftool +BuildRequires: clang +BuildRequires: llvm +BuildRequires: pkgconfig +BuildRequires: pkgconfig(libbpf) +%endif BuildRequires: systemd-rpm-macros %{?systemd_requires} Requires(post): %fillup_prereq +Requires: util-linux %description The stalld program monitors the set of system threads, @@ -36,13 +46,23 @@ allow 10 microseconds of runtime for 1 second of clock time. %prep -%autosetup -v -p1 -n %{name}-v%{version} +%autosetup -v -p1 %build -%make_build USE_BPF=0 SOPTS="" CFLAGS="%{optflags} %{build_cflags} -DVERSION=\\\"%{version}\\\"" stalld + +%make_build \ +%ifnarch aarch64 x86_64 + USE_BPF=0 \ +%endif + DEFAULT_BPFTOOL=%{_sbindir}/bpftool SOPTS="" MOPTS="" FOPTS="%{optflags}" stalld %install -%make_install USE_BPF=0 DOCDIR=%{_docdir} MANDIR=%{_mandir} BINDIR=%{_bindir} DATADIR=%{_datadir} VERSION=%{version} +%make_install \ +%ifnarch aarch64 x86_64 + USE_BPF=0 \ +%endif + DEFAULT_BPFTOOL=%{_sbindir}/bpftool DOCDIR=%{_docdir} MANDIR=%{_mandir} BINDIR=%{_bindir} DATADIR=%{_datadir} + %make_install -C systemd UNITDIR=%{_unitdir} mkdir -p %{buildroot}%{_fillupdir} mv %{buildroot}%{_sysconfdir}/sysconfig/%{name} %{buildroot}%{_fillupdir}/sysconfig.%{name} @@ -53,7 +73,7 @@ %{_unitdir}/%{name}.service %{_fillupdir}/sysconfig.%{name} %doc %{_docdir}/README.md -%doc %{_mandir}/man8/stalld.8* +%{_mandir}/man8/stalld.8%{?ext_man} %license gpl-2.0.txt %pre ++++++ run-dir.patch ++++++ diff --git a/systemd/stalld.service b/systemd/stalld.service index c80ba24..5da3a4e 100644 --- a/systemd/stalld.service +++ b/systemd/stalld.service @@ -7,8 +7,8 @@ Type=simple # Type=forking EnvironmentFile=/etc/sysconfig/stalld ExecStartPre=/usr/bin/throttlectl off -ExecStartPre=/usr/bin/mkdir -p /run/stalld - +RuntimeDirectory=stalld +RuntimeDirectoryMode=0700 # In case the regex passed to IT or IP includes C escape sequences, # use ${IT} or ${IP} instead of $IT or $IP ExecStart=/usr/bin/stalld --systemd $CLIST $AGGR $BP $BR $BD $THRESH $LOGGING $FG $PF $IT $IP $BE ++++++ systemd-execstart.patch ++++++ diff --git a/systemd/stalld.service b/systemd/stalld.service index 0fd41f3..c6401ad 100644 --- a/systemd/stalld.service +++ b/systemd/stalld.service @@ -13,7 +13,6 @@ ExecStartPre=/usr/bin/mkdir -p /run/stalld # use ${IT} or ${IP} instead of $IT or $IP ExecStart=/usr/bin/stalld --systemd $CLIST $AGGR $BP $BR $BD $THRESH $LOGGING $FG $PF $IT $IP $BE ExecStartPost=/usr/bin/chrt -f -p 10 $MAINPID -ExecStart=/usr/bin/stalld --systemd $CLIST $AGGR $BP $BR $BD $THRESH $LOGGING $FG $PF $IT $IP ExecStopPost=/usr/bin/throttlectl on Restart=always
