Accepting request 860394 from home:Jeffreycheung:branches:openSUSE:Factory
- Update to upstream version 1.10 (SLE-12981) * rt-tests: queuelat: Remove get_cpuinfo_mhz.sh and old Makefile * rt-tests: determine_maximum_mpps.sh: Add a menu to get user settings. * rt-numa: Introduce NUMA helpers * cyclictest: Only report the first incident * Streamline usage and man page - Add rt-tests-1.10-Makefile.patch - Cleanup spec file - Changes from version 1.9 * signaltest: Only print from the first thread stats when quiet * rt-tests: cyclictest: Move ftrace helpers into rt-utils.[ch] * pi_stress: limit the number of inversion groups to the number of online cores * rt-tests: Install new man page get_cyclictest_snapshot.8 * rt-tests: Add a man page for get_cyclictest_snapshot * rt-tests: ptsematest.8: Update the ptsematest man page * rt-tests: improvements to the python style in get_cyclictest_snapshot * cyclictest: Fix setaffinity error on large NUMA machines - Changes from version 1.8 * cyclictest: Make the affinity mask apply to the main thread too * Remove support for compiling without NUMA * cyclictest: Only run on runtime affinity and user supplied affinity * cyclictest: Only run on available cpus according to the affinity * cyclictest: Report all errors from pthread_setaffinity_np - Changes from version 1.7 * Add get_cyclictest_snapshot to Makefile * Add the get_cyclictest_snapshot.py utility * determine_maximum_mpps.sh: Fix quoting and other shell issue * queuelat: get_cpuinfo_mhz.sh highest value * cyclicdeadline: Add a simple manpage for cyclicdeadline OBS-URL: https://build.opensuse.org/request/show/860394 OBS-URL: https://build.opensuse.org/package/show/benchmark/rt-tests?expand=0&rev=20
This commit is contained in:
parent
f63a175749
commit
9742fe96ee
12
rt-tests-1.10-Makefile.patch
Normal file
12
rt-tests-1.10-Makefile.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
Index: rt-tests-1.10/Makefile
|
||||||
|
===================================================================
|
||||||
|
--- rt-tests-1.10/Makefile
|
||||||
|
+++ rt-tests-1.10/Makefile
|
||||||
|
@@ -56,6 +56,7 @@
|
||||||
|
src/sched_deadline/deadline_test.8 \
|
||||||
|
src/ssdd/ssdd.8 \
|
||||||
|
src/sched_deadline/cyclicdeadline.8 \
|
||||||
|
+ src/cyclictest/get_cyclictest_snapshot.8 \
|
||||||
|
src/oslat/oslat.8
|
||||||
|
|
||||||
|
ifdef PYLIB
|
3
rt-tests-1.10.tar.gz
Normal file
3
rt-tests-1.10.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:ebb51fade7e55cd0d1d50d2d0593a870fa7a6a6a620ddc531ba275a0ed937c05
|
||||||
|
size 156230
|
@ -1,64 +0,0 @@
|
|||||||
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 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:47dce14055a9d3379537b26e7d4e5d213c28e2497446b7f917e8690fc1928c0b
|
|
||||||
size 145628
|
|
@ -1,3 +1,41 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 5 07:34:20 UTC 2021 - Jeffrey Cheung <jcheung@suse.com>
|
||||||
|
|
||||||
|
- Update to upstream version 1.10 (SLE-12981)
|
||||||
|
* rt-tests: queuelat: Remove get_cpuinfo_mhz.sh and old Makefile
|
||||||
|
* rt-tests: determine_maximum_mpps.sh: Add a menu to get user settings.
|
||||||
|
* rt-numa: Introduce NUMA helpers
|
||||||
|
* cyclictest: Only report the first incident
|
||||||
|
* Streamline usage and man page
|
||||||
|
|
||||||
|
- Add rt-tests-1.10-Makefile.patch
|
||||||
|
|
||||||
|
- Cleanup spec file
|
||||||
|
|
||||||
|
- Changes from version 1.9
|
||||||
|
* signaltest: Only print from the first thread stats when quiet
|
||||||
|
* rt-tests: cyclictest: Move ftrace helpers into rt-utils.[ch]
|
||||||
|
* pi_stress: limit the number of inversion groups to the number of online cores
|
||||||
|
* rt-tests: Install new man page get_cyclictest_snapshot.8
|
||||||
|
* rt-tests: Add a man page for get_cyclictest_snapshot
|
||||||
|
* rt-tests: ptsematest.8: Update the ptsematest man page
|
||||||
|
* rt-tests: improvements to the python style in get_cyclictest_snapshot
|
||||||
|
* cyclictest: Fix setaffinity error on large NUMA machines
|
||||||
|
|
||||||
|
- Changes from version 1.8
|
||||||
|
* cyclictest: Make the affinity mask apply to the main thread too
|
||||||
|
* Remove support for compiling without NUMA
|
||||||
|
* cyclictest: Only run on runtime affinity and user supplied affinity
|
||||||
|
* cyclictest: Only run on available cpus according to the affinity
|
||||||
|
* cyclictest: Report all errors from pthread_setaffinity_np
|
||||||
|
|
||||||
|
- Changes from version 1.7
|
||||||
|
* Add get_cyclictest_snapshot to Makefile
|
||||||
|
* Add the get_cyclictest_snapshot.py utility
|
||||||
|
* determine_maximum_mpps.sh: Fix quoting and other shell issue
|
||||||
|
* queuelat: get_cpuinfo_mhz.sh highest value
|
||||||
|
* cyclicdeadline: Add a simple manpage for cyclicdeadline
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jun 16 13:29:29 UTC 2020 - Jeffrey Cheung <jcheung@suse.com>
|
Tue Jun 16 13:29:29 UTC 2020 - Jeffrey Cheung <jcheung@suse.com>
|
||||||
|
|
||||||
|
@ -17,14 +17,14 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: rt-tests
|
Name: rt-tests
|
||||||
Version: 1.6
|
Version: 1.10
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Realtime Kernel Testsuite
|
Summary: Realtime Kernel Testsuite
|
||||||
License: GPL-2.0-only
|
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
|
Patch1: rt-tests-1.10-Makefile.patch
|
||||||
BuildRequires: libnuma-devel
|
BuildRequires: libnuma-devel
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: python3-base
|
BuildRequires: python3-base
|
||||||
@ -54,6 +54,7 @@ rm -rf %{buildroot}%{_prefix}/src/backfire
|
|||||||
%doc MAINTAINERS README.markdown
|
%doc MAINTAINERS README.markdown
|
||||||
%{_bindir}/cyclicdeadline
|
%{_bindir}/cyclicdeadline
|
||||||
%{_bindir}/cyclictest
|
%{_bindir}/cyclictest
|
||||||
|
%{_bindir}/get_cyclictest_snapshot
|
||||||
%{_bindir}/deadline_test
|
%{_bindir}/deadline_test
|
||||||
%{_bindir}/hackbench
|
%{_bindir}/hackbench
|
||||||
%{_bindir}/hwlatdetect
|
%{_bindir}/hwlatdetect
|
||||||
@ -63,15 +64,14 @@ rm -rf %{buildroot}%{_prefix}/src/backfire
|
|||||||
%{_bindir}/ptsematest
|
%{_bindir}/ptsematest
|
||||||
%{_bindir}/queuelat
|
%{_bindir}/queuelat
|
||||||
%{_bindir}/rt-migrate-test
|
%{_bindir}/rt-migrate-test
|
||||||
%{_bindir}/sendme
|
|
||||||
%{_bindir}/signaltest
|
%{_bindir}/signaltest
|
||||||
%{_bindir}/sigwaittest
|
%{_bindir}/sigwaittest
|
||||||
%{_bindir}/svsematest
|
%{_bindir}/svsematest
|
||||||
%{_bindir}/ssdd
|
%{_bindir}/ssdd
|
||||||
%{_bindir}/get_cpuinfo_mhz.sh
|
%{_bindir}/oslat
|
||||||
%{_bindir}/determine_maximum_mpps.sh
|
%{_bindir}/determine_maximum_mpps.sh
|
||||||
%{python3_sitelib}/hwlatdetect.py
|
%{python3_sitelib}/hwlatdetect.py
|
||||||
%{_mandir}/man4/backfire.4%{?ext_man}
|
%{python3_sitelib}/get_cyclictest_snapshot.py
|
||||||
%{_mandir}/man8/cyclictest.8%{?ext_man}
|
%{_mandir}/man8/cyclictest.8%{?ext_man}
|
||||||
%{_mandir}/man8/hackbench.8%{?ext_man}
|
%{_mandir}/man8/hackbench.8%{?ext_man}
|
||||||
%{_mandir}/man8/hwlatdetect.8%{?ext_man}
|
%{_mandir}/man8/hwlatdetect.8%{?ext_man}
|
||||||
@ -79,7 +79,6 @@ rm -rf %{buildroot}%{_prefix}/src/backfire
|
|||||||
%{_mandir}/man8/pmqtest.8%{?ext_man}
|
%{_mandir}/man8/pmqtest.8%{?ext_man}
|
||||||
%{_mandir}/man8/ptsematest.8%{?ext_man}
|
%{_mandir}/man8/ptsematest.8%{?ext_man}
|
||||||
%{_mandir}/man8/rt-migrate-test.8%{?ext_man}
|
%{_mandir}/man8/rt-migrate-test.8%{?ext_man}
|
||||||
%{_mandir}/man8/sendme.8%{?ext_man}
|
|
||||||
%{_mandir}/man8/signaltest.8%{?ext_man}
|
%{_mandir}/man8/signaltest.8%{?ext_man}
|
||||||
%{_mandir}/man8/sigwaittest.8%{?ext_man}
|
%{_mandir}/man8/sigwaittest.8%{?ext_man}
|
||||||
%{_mandir}/man8/svsematest.8%{?ext_man}
|
%{_mandir}/man8/svsematest.8%{?ext_man}
|
||||||
@ -87,5 +86,9 @@ rm -rf %{buildroot}%{_prefix}/src/backfire
|
|||||||
%{_mandir}/man8/queuelat.8%{?ext_man}
|
%{_mandir}/man8/queuelat.8%{?ext_man}
|
||||||
%{_mandir}/man8/pip_stress.8%{?ext_man}
|
%{_mandir}/man8/pip_stress.8%{?ext_man}
|
||||||
%{_mandir}/man8/deadline_test.8%{?ext_man}
|
%{_mandir}/man8/deadline_test.8%{?ext_man}
|
||||||
|
%{_mandir}/man8/cyclicdeadline.8%{?ext_man}
|
||||||
|
%{_mandir}/man8/get_cyclictest_snapshot.8%{?ext_man}
|
||||||
|
%{_mandir}/man8/oslat.8%{?ext_man}
|
||||||
|
%{_mandir}/man8/determine_maximum_mpps.8%{?ext_man}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user