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
This commit is contained in:
parent
7c1867472a
commit
09c34f694c
64
rt-tests-1.6-Makefile.patch
Normal file
64
rt-tests-1.6-Makefile.patch
Normal file
@ -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
|
@ -1,3 +1,23 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 16 13:29:29 UTC 2020 - Jeffrey Cheung <jcheung@suse.com>
|
||||||
|
|
||||||
|
- 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 <mpluskal@suse.com>
|
Tue Jun 16 04:34:50 UTC 2020 - Martin Pluskal <mpluskal@suse.com>
|
||||||
|
|
||||||
|
@ -24,6 +24,7 @@ License: GPL-2.0-only
|
|||||||
Group: System/Benchmark
|
Group: System/Benchmark
|
||||||
URL: https://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git
|
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
|
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: libnuma-devel
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: python3-base
|
BuildRequires: python3-base
|
||||||
@ -38,6 +39,7 @@ Inheritance Mutexes.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%{optflags}"
|
export CFLAGS="%{optflags}"
|
||||||
|
Loading…
Reference in New Issue
Block a user