From 7145626790c4c18d6bab1f7758e9a530fb53b61e61484977e5e77616eadf99ec Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Tue, 16 Jun 2020 04:28:21 +0000 Subject: [PATCH 1/5] Accepting request 814634 from home:Jeffreycheung:branches:openSUSE:Factory - Update to version 1.6 OBS-URL: https://build.opensuse.org/request/show/814634 OBS-URL: https://build.opensuse.org/package/show/benchmark/rt-tests?expand=0&rev=14 --- rt-tests-1.3.tar.gz | 3 --- rt-tests-1.6.tar.gz | 3 +++ rt-tests.changes | 5 +++++ rt-tests.spec | 15 +++++++++++---- 4 files changed, 19 insertions(+), 7 deletions(-) delete mode 100644 rt-tests-1.3.tar.gz create mode 100644 rt-tests-1.6.tar.gz diff --git a/rt-tests-1.3.tar.gz b/rt-tests-1.3.tar.gz deleted file mode 100644 index 1671ea9..0000000 --- a/rt-tests-1.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:aea6b9e3367d5eec4af65a0f8e45b7a7948ce43b713be6564ccf71920c20b465 -size 144534 diff --git a/rt-tests-1.6.tar.gz b/rt-tests-1.6.tar.gz new file mode 100644 index 0000000..407ce1c --- /dev/null +++ b/rt-tests-1.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2bef1214d1d80b54de8957741696b959d85e083b149e369a7ddbd438162eeee3 +size 145320 diff --git a/rt-tests.changes b/rt-tests.changes index 8148d6e..73c9d8e 100644 --- a/rt-tests.changes +++ b/rt-tests.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jun 15 01:27:35 UTC 2020 - Jeffrey Cheung + +- Update to version 1.6 + ------------------------------------------------------------------- Thu Sep 13 11:10:30 UTC 2018 - Jan Engelhardt diff --git a/rt-tests.spec b/rt-tests.spec index 0f2dbd3..490c7c1 100644 --- a/rt-tests.spec +++ b/rt-tests.spec @@ -1,7 +1,7 @@ # # spec file for package rt-tests # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: rt-tests -Version: 1.3 +Version: 1.6 Release: 0 Summary: Realtime Kernel Testsuite License: GPL-2.0-only @@ -26,7 +26,7 @@ URL: https://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git Source0: https://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git/snapshot/rt-tests-%{version}.tar.gz BuildRequires: libnuma-devel BuildRequires: python-rpm-macros -BuildRequires: python2-base +BuildRequires: python3-base Conflicts: hackbench # Only supported on intel architectures ExclusiveArch: %{ix86} x86_64 @@ -65,7 +65,10 @@ rm -rf %{buildroot}%{_prefix}/src/backfire %{_bindir}/signaltest %{_bindir}/sigwaittest %{_bindir}/svsematest -%{python2_sitelib}/hwlatdetect.py +%{_bindir}/ssdd +%{_bindir}/get_cpuinfo_mhz.sh +%{_bindir}/determine_maximum_mpps.sh +%{python3_sitelib}/hwlatdetect.py %{_mandir}/man4/backfire.4%{?ext_man} %{_mandir}/man8/cyclictest.8%{?ext_man} %{_mandir}/man8/hackbench.8%{?ext_man} @@ -78,5 +81,9 @@ rm -rf %{buildroot}%{_prefix}/src/backfire %{_mandir}/man8/signaltest.8%{?ext_man} %{_mandir}/man8/sigwaittest.8%{?ext_man} %{_mandir}/man8/svsematest.8%{?ext_man} +%{_mandir}/man8/ssdd.8%{?ext_man} +%{_mandir}/man8/queuelat.8%{?ext_man} +%{_mandir}/man8/pip_stress.8%{?ext_man} +%{_mandir}/man8/deadline_test.8%{?ext_man} %changelog From 9d9e639b20e27822f47e1b79f792c87be392571f700b9ee8c103b18d3f5cd7af Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Tue, 16 Jun 2020 04:36:35 +0000 Subject: [PATCH 2/5] - Small packaging cleanup using spec-cleaner - Update to version 1.6: * No changelog available OBS-URL: https://build.opensuse.org/package/show/benchmark/rt-tests?expand=0&rev=15 --- rt-tests.changes | 8 +++++++- rt-tests.spec | 4 ++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/rt-tests.changes b/rt-tests.changes index 73c9d8e..cfbd2a0 100644 --- a/rt-tests.changes +++ b/rt-tests.changes @@ -1,7 +1,13 @@ +------------------------------------------------------------------- +Tue Jun 16 04:34:50 UTC 2020 - Martin Pluskal + +- Small packaging cleanup using spec-cleaner + ------------------------------------------------------------------- Mon Jun 15 01:27:35 UTC 2020 - Jeffrey Cheung -- Update to version 1.6 +- Update to version 1.6: + * No changelog available ------------------------------------------------------------------- Thu Sep 13 11:10:30 UTC 2018 - Jan Engelhardt diff --git a/rt-tests.spec b/rt-tests.spec index 490c7c1..bc190f4 100644 --- a/rt-tests.spec +++ b/rt-tests.spec @@ -1,7 +1,7 @@ # # spec file for package rt-tests # -# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -41,7 +41,7 @@ Inheritance Mutexes. %build export CFLAGS="%{optflags}" -make %{?_smp_mflags} +%make_build %install %make_install prefix=%{_prefix} From 7c1867472a7d3d7bd8013cd976ae121093349511d6cdb70bf2fb4f3f7eafe314 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Tue, 16 Jun 2020 04:51:15 +0000 Subject: [PATCH 3/5] OBS-URL: https://build.opensuse.org/package/show/benchmark/rt-tests?expand=0&rev=16 --- rt-tests-1.6.tar.gz | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rt-tests-1.6.tar.gz b/rt-tests-1.6.tar.gz index 407ce1c..9edd436 100644 --- a/rt-tests-1.6.tar.gz +++ b/rt-tests-1.6.tar.gz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2bef1214d1d80b54de8957741696b959d85e083b149e369a7ddbd438162eeee3 -size 145320 +oid sha256:47dce14055a9d3379537b26e7d4e5d213c28e2497446b7f917e8690fc1928c0b +size 145628 From 09c34f694cd7257386fe1136d02aad018a0b89b99e32802d36dc2b1a1fe1e2d9 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Tue, 16 Jun 2020 14:27:14 +0000 Subject: [PATCH 4/5] Accepting request 815266 from home:Jeffreycheung:branches:benchmark - Update to version 1.6: * New feature to get a snapshot of a running instance of cyclictest without stopping it by sending SIGUSR2 to the PID and reading a shared memory segment. This is especially useful if running cyclictest over a long period of time * Add SPDX tags V3 * Some fixes - Changes from version 1.5 * Mostly small clean-ups and bug fixes - Changes from version 1.4 * Added a number of new programs to the rt-tests suite - queuelat : simulates a network queue checking for latency violations in packet processing. - cyclicdeadline : used to test the deadline scheduler (SCHED_DEADLINE) - deadline_test : tests the deadline scheduler in a cyclictest manner - ssdd : a tracer to do a bunch of PTRACE_SINGLESTEPs OBS-URL: https://build.opensuse.org/request/show/815266 OBS-URL: https://build.opensuse.org/package/show/benchmark/rt-tests?expand=0&rev=17 --- rt-tests-1.6-Makefile.patch | 64 +++++++++++++++++++++++++++++++++++++ rt-tests.changes | 20 ++++++++++++ rt-tests.spec | 2 ++ 3 files changed, 86 insertions(+) create mode 100644 rt-tests-1.6-Makefile.patch diff --git a/rt-tests-1.6-Makefile.patch b/rt-tests-1.6-Makefile.patch new file mode 100644 index 0000000..d4cff0c --- /dev/null +++ b/rt-tests-1.6-Makefile.patch @@ -0,0 +1,64 @@ +Index: rt-tests-1.6/Makefile +=================================================================== +--- rt-tests-1.6/Makefile ++++ rt-tests-1.6/Makefile +@@ -11,6 +11,7 @@ + pmqtest.c \ + ptsematest.c \ + rt-migrate-test.c \ ++ sendme.c \ + signaltest.c \ + sigwaittest.c \ + svsematest.c \ +@@ -27,6 +28,7 @@ + prefix ?= /usr/local + bindir ?= $(prefix)/bin + mandir ?= $(prefix)/share/man ++srcdir ?= $(prefix)/src + + CFLAGS ?= -Wall -Wno-nonnull + CPPFLAGS += -D_GNU_SOURCE -Isrc/include +@@ -87,6 +89,7 @@ + VPATH += src/sched_deadline: + VPATH += src/queuelat: + VPATH += src/ssdd: ++VPATH += src/backfire: + + $(OBJDIR)/%.o: %.c | $(OBJDIR) + $(CC) -D VERSION=$(VERSION) -c $< $(CFLAGS) $(CPPFLAGS) -o $@ +@@ -138,6 +141,9 @@ + pmqtest: $(OBJDIR)/pmqtest.o $(OBJDIR)/librttest.a + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) $(RTTESTLIB) $(EXTRA_LIBS) + ++sendme: $(OBJDIR)/sendme.o $(OBJDIR)/librttest.a ++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) $(RTTESTLIB) $(EXTRA_LIBS) ++ + pip_stress: $(OBJDIR)/pip_stress.o $(OBJDIR)/librttest.a + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) $(RTTESTLIB) + +@@ -176,10 +182,13 @@ + + .PHONY: install + install: all install_hwlatdetect +- mkdir -p "$(DESTDIR)$(bindir)" "$(DESTDIR)$(mandir)/man8" ++ mkdir -p "$(DESTDIR)$(bindir)" "$(DESTDIR)$(mandir)/man4" ++ mkdir -p "$(DESTDIR)$(srcdir)" "$(DESTDIR)$(mandir)/man8" + cp $(TARGETS) "$(DESTDIR)$(bindir)" +- install src/queuelat/get_cpuinfo_mhz.sh "$(DESTDIR)$(bindir)" +- install src/queuelat/determine_maximum_mpps.sh "${DESTDIR}${bindir}" ++ install -m 755 src/queuelat/get_cpuinfo_mhz.sh "${DESTDIR}${bindir}" ++ install -m 755 src/queuelat/determine_maximum_mpps.sh "${DESTDIR}${bindir}" ++ install -D -m 644 src/backfire/backfire.c "$(DESTDIR)$(srcdir)/backfire/backfire.c" ++ install -m 644 src/backfire/Makefile "$(DESTDIR)$(srcdir)/backfire/Makefile" + gzip -c src/cyclictest/cyclictest.8 >"$(DESTDIR)$(mandir)/man8/cyclictest.8.gz" + gzip -c src/pi_tests/pi_stress.8 >"$(DESTDIR)$(mandir)/man8/pi_stress.8.gz" + gzip -c src/ptsematest/ptsematest.8 >"$(DESTDIR)$(mandir)/man8/ptsematest.8.gz" +@@ -193,6 +202,8 @@ + gzip -c src/queuelat/queuelat.8 >"$(DESTDIR)$(mandir)/man8/queuelat.8.gz" + gzip -c src/sched_deadline/deadline_test.8 >"$(DESTDIR)$(mandir)/man8/deadline_test.8.gz" + gzip -c src/ssdd/ssdd.8 >"$(DESTDIR)$(mandir)/man8/ssdd.8.gz" ++ gzip -c src/backfire/backfire.4 >"$(DESTDIR)$(mandir)/man4/backfire.4.gz" ++ gzip -c src/backfire/sendme.8 >"$(DESTDIR)$(mandir)/man8/sendme.8.gz" + + .PHONY: install_hwlatdetect + install_hwlatdetect: hwlatdetect diff --git a/rt-tests.changes b/rt-tests.changes index cfbd2a0..c6771e7 100644 --- a/rt-tests.changes +++ b/rt-tests.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Tue Jun 16 13:29:29 UTC 2020 - Jeffrey Cheung + +- Update to version 1.6: + * New feature to get a snapshot of a running instance of cyclictest without stopping it by + sending SIGUSR2 to the PID and reading a shared memory segment. This is especially useful + if running cyclictest over a long period of time + * Add SPDX tags V3 + * Some fixes + +- Changes from version 1.5 + * Mostly small clean-ups and bug fixes + +- Changes from version 1.4 + * Added a number of new programs to the rt-tests suite + - queuelat : simulates a network queue checking for latency violations in packet processing. + - cyclicdeadline : used to test the deadline scheduler (SCHED_DEADLINE) + - deadline_test : tests the deadline scheduler in a cyclictest manner + - ssdd : a tracer to do a bunch of PTRACE_SINGLESTEPs + ------------------------------------------------------------------- Tue Jun 16 04:34:50 UTC 2020 - Martin Pluskal diff --git a/rt-tests.spec b/rt-tests.spec index bc190f4..bd11f95 100644 --- a/rt-tests.spec +++ b/rt-tests.spec @@ -24,6 +24,7 @@ License: GPL-2.0-only Group: System/Benchmark URL: https://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git Source0: https://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git/snapshot/rt-tests-%{version}.tar.gz +Patch1: rt-tests-1.6-Makefile.patch BuildRequires: libnuma-devel BuildRequires: python-rpm-macros BuildRequires: python3-base @@ -38,6 +39,7 @@ Inheritance Mutexes. %prep %setup -q +%patch1 -p1 %build export CFLAGS="%{optflags}" From f63a1757498402d25191d8e065dd302c312d02fb859f4638a0885bb5f086a1bb Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Tue, 16 Jun 2020 14:30:06 +0000 Subject: [PATCH 5/5] - Add rt-tests-1.6-Makefile.patch OBS-URL: https://build.opensuse.org/package/show/benchmark/rt-tests?expand=0&rev=18 --- rt-tests.changes | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/rt-tests.changes b/rt-tests.changes index c6771e7..4b5b45a 100644 --- a/rt-tests.changes +++ b/rt-tests.changes @@ -7,27 +7,15 @@ Tue Jun 16 13:29:29 UTC 2020 - Jeffrey Cheung if running cyclictest over a long period of time * Add SPDX tags V3 * Some fixes - - Changes from version 1.5 * Mostly small clean-ups and bug fixes - - Changes from version 1.4 * Added a number of new programs to the rt-tests suite - queuelat : simulates a network queue checking for latency violations in packet processing. - cyclicdeadline : used to test the deadline scheduler (SCHED_DEADLINE) - deadline_test : tests the deadline scheduler in a cyclictest manner - ssdd : a tracer to do a bunch of PTRACE_SINGLESTEPs - -------------------------------------------------------------------- -Tue Jun 16 04:34:50 UTC 2020 - Martin Pluskal - -- Small packaging cleanup using spec-cleaner - -------------------------------------------------------------------- -Mon Jun 15 01:27:35 UTC 2020 - Jeffrey Cheung - -- Update to version 1.6: - * No changelog available +- Add rt-tests-1.6-Makefile.patch ------------------------------------------------------------------- Thu Sep 13 11:10:30 UTC 2018 - Jan Engelhardt