forked from pool/rt-tests
Accepting request 815274 from 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 - Add rt-tests-1.6-Makefile.patch OBS-URL: https://build.opensuse.org/request/show/815274 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rt-tests?expand=0&rev=2
This commit is contained in:
commit
9aafc92c10
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:aea6b9e3367d5eec4af65a0f8e45b7a7948ce43b713be6564ccf71920c20b465
|
||||
size 144534
|
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
|
3
rt-tests-1.6.tar.gz
Normal file
3
rt-tests-1.6.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:47dce14055a9d3379537b26e7d4e5d213c28e2497446b7f917e8690fc1928c0b
|
||||
size 145628
|
@ -1,3 +1,22 @@
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
- Add rt-tests-1.6-Makefile.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 13 11:10:30 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package rt-tests
|
||||
#
|
||||
# Copyright (c) 2018 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
|
||||
@ -17,16 +17,17 @@
|
||||
|
||||
|
||||
Name: rt-tests
|
||||
Version: 1.3
|
||||
Version: 1.6
|
||||
Release: 0
|
||||
Summary: Realtime Kernel Testsuite
|
||||
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: python2-base
|
||||
BuildRequires: python3-base
|
||||
Conflicts: hackbench
|
||||
# Only supported on intel architectures
|
||||
ExclusiveArch: %{ix86} x86_64
|
||||
@ -38,10 +39,11 @@ Inheritance Mutexes.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags}"
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install prefix=%{_prefix}
|
||||
@ -65,7 +67,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 +83,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
|
||||
|
Loading…
x
Reference in New Issue
Block a user