* [ptxdist] [PATCH 0/2] rt-tests: version bump @ 2022-06-02 12:28 Alexander Dahl 2022-06-02 12:28 ` [ptxdist] [PATCH 1/2] numactl: Add new package Alexander Dahl 2022-06-02 12:28 ` [ptxdist] [PATCH 2/2] rt-tests: version bump 1.0 -> 2.3 Alexander Dahl 0 siblings, 2 replies; 5+ messages in thread From: Alexander Dahl @ 2022-06-02 12:28 UTC (permalink / raw) To: ptxdist Hei hei, I needed to investigate some latency issues on a system with PREEMPT_RT kernel, and while trace-cmd has a fairly recent version in ptxdist, cyclictest (which is part of rt-tests) has not. To do the version bump, it was necessary to have libnuma, which is part of the new 'numactl' package. Note: some new test tools were added to upstream rt-tests, but not yet to the ptxdist package. If someone needs those, they can be added later. Greets Alex Alexander Dahl (2): numactl: Add new package rt-tests: version bump 1.0 -> 2.3 rules/numactl.in | 18 ++++++++++++++ rules/numactl.make | 59 +++++++++++++++++++++++++++++++++++++++++++++ rules/rt-tests.in | 5 +--- rules/rt-tests.make | 7 +++--- 4 files changed, 81 insertions(+), 8 deletions(-) create mode 100644 rules/numactl.in create mode 100644 rules/numactl.make base-commit: 114887419025a5b377c94f0443b8320989f3c736 -- 2.30.2 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [ptxdist] [PATCH 1/2] numactl: Add new package 2022-06-02 12:28 [ptxdist] [PATCH 0/2] rt-tests: version bump Alexander Dahl @ 2022-06-02 12:28 ` Alexander Dahl 2022-06-10 6:49 ` [ptxdist] [APPLIED] " Michael Olbrich 2022-06-02 12:28 ` [ptxdist] [PATCH 2/2] rt-tests: version bump 1.0 -> 2.3 Alexander Dahl 1 sibling, 1 reply; 5+ messages in thread From: Alexander Dahl @ 2022-06-02 12:28 UTC (permalink / raw) To: ptxdist This is a requirement for recent releases of the kernel's 'rt-tests' utils. Signed-off-by: Alexander Dahl <ada@thorsis.com> --- rules/numactl.in | 18 ++++++++++++++ rules/numactl.make | 59 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 77 insertions(+) create mode 100644 rules/numactl.in create mode 100644 rules/numactl.make diff --git a/rules/numactl.in b/rules/numactl.in new file mode 100644 index 000000000..66e2645f2 --- /dev/null +++ b/rules/numactl.in @@ -0,0 +1,18 @@ +## SECTION=shell_and_console + +menuconfig NUMACTL + tristate + prompt "numactl " + help + NUMA policy support for Linux. + Consists of a 'numactl' program and a 'libnuma' shared library. + +if NUMACTL + +config NUMACTL_NUMACTL + bool + prompt "numactl" + help + Program to run other programs with a specific NUMA policy. + +endif diff --git a/rules/numactl.make b/rules/numactl.make new file mode 100644 index 000000000..6db1c2707 --- /dev/null +++ b/rules/numactl.make @@ -0,0 +1,59 @@ +# -*-makefile-*- +# +# Copyright (C) 2022 by Alexander Dahl <ada@thorsis.com> +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_NUMACTL) += numactl + +# +# Paths and names +# +NUMACTL_VERSION := 2.0.14 +NUMACTL_MD5 := f65f3501a82df8c3ee7cc74dc6a55636 +NUMACTL := numactl-$(NUMACTL_VERSION) +NUMACTL_SUFFIX := tar.gz +NUMACTL_URL := https://github.com/numactl/numactl/releases/download/v$(NUMACTL_VERSION)/$(NUMACTL).$(NUMACTL_SUFFIX) +NUMACTL_SOURCE := $(SRCDIR)/$(NUMACTL).$(NUMACTL_SUFFIX) +NUMACTL_DIR := $(BUILDDIR)/$(NUMACTL) +NUMACTL_LICENSE := LGPL-2.1 AND GPL-2.0 +NUMACTL_LICENSE_FILES := \ + file://README.md;startline=25;endline=47;md5=0ca89e009b5e838824a114916c20e382 \ + file://LICENSE.GPL2;md5=751419260aa954499f7abaabaa882bbe \ + file://LICENSE.LGPL2.1;md5=4fbd65380cdd255951079008b364516c + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +NUMACTL_CONF_TOOL := autoconf + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/numactl.targetinstall: + @$(call targetinfo) + + @$(call install_init, numactl) + @$(call install_fixup, numactl,PRIORITY,optional) + @$(call install_fixup, numactl,SECTION,base) + @$(call install_fixup, numactl,AUTHOR,"Alexander Dahl <ada@thorsis.com>") + @$(call install_fixup, numactl,DESCRIPTION,missing) + +ifdef PTXCONF_NUMACTL_NUMACTL + @$(call install_copy, numactl, 0, 0, 0755, -, /usr/bin/numactl) +endif + + @$(call install_lib, numactl, 0, 0, 0644, libnuma) + + @$(call install_finish, numactl) + + @$(call touch) + +# vim: ft=make noet tw=72 ts=8 sw=8 -- 2.30.2 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ptxdist] [APPLIED] numactl: Add new package 2022-06-02 12:28 ` [ptxdist] [PATCH 1/2] numactl: Add new package Alexander Dahl @ 2022-06-10 6:49 ` Michael Olbrich 0 siblings, 0 replies; 5+ messages in thread From: Michael Olbrich @ 2022-06-10 6:49 UTC (permalink / raw) To: ptxdist; +Cc: Alexander Dahl Thanks, applied as 921a7eb3f62f4e5b620ebef85d20aeeca0ce71f2. Michael [sent from post-receive hook] On Fri, 10 Jun 2022 08:49:26 +0200, Alexander Dahl <ada@thorsis.com> wrote: > This is a requirement for recent releases of the kernel's 'rt-tests' > utils. > > Signed-off-by: Alexander Dahl <ada@thorsis.com> > Message-Id: <20220602122842.26465-2-ada@thorsis.com> > Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> > > diff --git a/rules/numactl.in b/rules/numactl.in > new file mode 100644 > index 000000000000..66e2645f2d08 > --- /dev/null > +++ b/rules/numactl.in > @@ -0,0 +1,18 @@ > +## SECTION=shell_and_console > + > +menuconfig NUMACTL > + tristate > + prompt "numactl " > + help > + NUMA policy support for Linux. > + Consists of a 'numactl' program and a 'libnuma' shared library. > + > +if NUMACTL > + > +config NUMACTL_NUMACTL > + bool > + prompt "numactl" > + help > + Program to run other programs with a specific NUMA policy. > + > +endif > diff --git a/rules/numactl.make b/rules/numactl.make > new file mode 100644 > index 000000000000..6db1c2707fe3 > --- /dev/null > +++ b/rules/numactl.make > @@ -0,0 +1,59 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2022 by Alexander Dahl <ada@thorsis.com> > +# > +# For further information about the PTXdist project and license conditions > +# see the README file. > +# > + > +# > +# We provide this package > +# > +PACKAGES-$(PTXCONF_NUMACTL) += numactl > + > +# > +# Paths and names > +# > +NUMACTL_VERSION := 2.0.14 > +NUMACTL_MD5 := f65f3501a82df8c3ee7cc74dc6a55636 > +NUMACTL := numactl-$(NUMACTL_VERSION) > +NUMACTL_SUFFIX := tar.gz > +NUMACTL_URL := https://github.com/numactl/numactl/releases/download/v$(NUMACTL_VERSION)/$(NUMACTL).$(NUMACTL_SUFFIX) > +NUMACTL_SOURCE := $(SRCDIR)/$(NUMACTL).$(NUMACTL_SUFFIX) > +NUMACTL_DIR := $(BUILDDIR)/$(NUMACTL) > +NUMACTL_LICENSE := LGPL-2.1 AND GPL-2.0 > +NUMACTL_LICENSE_FILES := \ > + file://README.md;startline=25;endline=47;md5=0ca89e009b5e838824a114916c20e382 \ > + file://LICENSE.GPL2;md5=751419260aa954499f7abaabaa882bbe \ > + file://LICENSE.LGPL2.1;md5=4fbd65380cdd255951079008b364516c > + > +# ---------------------------------------------------------------------------- > +# Prepare > +# ---------------------------------------------------------------------------- > + > +NUMACTL_CONF_TOOL := autoconf > + > +# ---------------------------------------------------------------------------- > +# Target-Install > +# ---------------------------------------------------------------------------- > + > +$(STATEDIR)/numactl.targetinstall: > + @$(call targetinfo) > + > + @$(call install_init, numactl) > + @$(call install_fixup, numactl,PRIORITY,optional) > + @$(call install_fixup, numactl,SECTION,base) > + @$(call install_fixup, numactl,AUTHOR,"Alexander Dahl <ada@thorsis.com>") > + @$(call install_fixup, numactl,DESCRIPTION,missing) > + > +ifdef PTXCONF_NUMACTL_NUMACTL > + @$(call install_copy, numactl, 0, 0, 0755, -, /usr/bin/numactl) > +endif > + > + @$(call install_lib, numactl, 0, 0, 0644, libnuma) > + > + @$(call install_finish, numactl) > + > + @$(call touch) > + > +# vim: ft=make noet tw=72 ts=8 sw=8 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [ptxdist] [PATCH 2/2] rt-tests: version bump 1.0 -> 2.3 2022-06-02 12:28 [ptxdist] [PATCH 0/2] rt-tests: version bump Alexander Dahl 2022-06-02 12:28 ` [ptxdist] [PATCH 1/2] numactl: Add new package Alexander Dahl @ 2022-06-02 12:28 ` Alexander Dahl 2022-06-10 6:49 ` [ptxdist] [APPLIED] " Michael Olbrich 1 sibling, 1 reply; 5+ messages in thread From: Alexander Dahl @ 2022-06-02 12:28 UTC (permalink / raw) To: ptxdist Six years of changes. Added and removed test tools, changed options, fixed build issues, improved manual pages, fixed bugs, fixed compiler warnings, fixed buffer overflows, added features to existing tools, add json output for some tools, unify command line arguments over different tools, … Signed-off-by: Alexander Dahl <ada@thorsis.com> --- rules/rt-tests.in | 5 +---- rules/rt-tests.make | 7 +++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/rules/rt-tests.in b/rules/rt-tests.in index 1cb29b712..5eacf4c40 100644 --- a/rules/rt-tests.in +++ b/rules/rt-tests.in @@ -5,6 +5,7 @@ menuconfig RT_TESTS select LIBC_PTHREAD select LIBC_RT select LIBC_DL + select NUMACTL select GCCLIBS_GCC_S if RT_TESTS_RT_MIGRATE_TEST prompt "rt-tests " help @@ -68,10 +69,6 @@ config RT_TESTS_RT_MIGRATE_TEST bool prompt "rt-migrate-test" -config RT_TESTS_SENDME - bool - prompt "sendme" - config RT_TESTS_SIGNALTEST bool prompt "signaltest" diff --git a/rules/rt-tests.make b/rules/rt-tests.make index 7ce4aadbb..0ae1c7fa2 100644 --- a/rules/rt-tests.make +++ b/rules/rt-tests.make @@ -17,8 +17,8 @@ PACKAGES-$(PTXCONF_RT_TESTS) += rt-tests # # Paths and names # -RT_TESTS_VERSION := 1.0 -RT_TESTS_MD5 := 3818d2d0a3069291864bf85fde40883b +RT_TESTS_VERSION := 2.3 +RT_TESTS_MD5 := 28e8b92be0579a2c6e8c7c2ff1bb2947 RT_TESTS := rt-tests-$(RT_TESTS_VERSION) RT_TESTS_SUFFIX := tar.xz RT_TESTS_URL := \ @@ -34,7 +34,7 @@ RT_TESTS_LICENSE_FILES := file://COPYING;md5=751419260aa954499f7abaabaa882bbe # ---------------------------------------------------------------------------- RT_TESTS_CONF_TOOL := NO -RT_TESTS_MAKE_OPT := $(CROSS_ENV_CC) prefix=/usr NUMA=0 +RT_TESTS_MAKE_OPT := $(CROSS_ENV_CC) prefix=/usr RT_TESTS_MAKE_ENV := $(CROSS_ENV_FLAGS) RT_TESTS_INSTALL_OPT := $(RT_TESTS_MAKE_OPT) install @@ -49,7 +49,6 @@ RT_TESTS_BIN-$(PTXCONF_RT_TESTS_PI_STRESS) += pi_stress RT_TESTS_BIN-$(PTXCONF_RT_TESTS_PMQTEST) += pmqtest RT_TESTS_BIN-$(PTXCONF_RT_TESTS_PTSEMATEST) += ptsematest RT_TESTS_BIN-$(PTXCONF_RT_TESTS_RT_MIGRATE_TEST) += rt-migrate-test -RT_TESTS_BIN-$(PTXCONF_RT_TESTS_SENDME) += sendme RT_TESTS_BIN-$(PTXCONF_RT_TESTS_SIGNALTEST) += signaltest RT_TESTS_BIN-$(PTXCONF_RT_TESTS_SIGWAITTEST) += sigwaittest RT_TESTS_BIN-$(PTXCONF_RT_TESTS_SVSEMATEST) += svsematest -- 2.30.2 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ptxdist] [APPLIED] rt-tests: version bump 1.0 -> 2.3 2022-06-02 12:28 ` [ptxdist] [PATCH 2/2] rt-tests: version bump 1.0 -> 2.3 Alexander Dahl @ 2022-06-10 6:49 ` Michael Olbrich 0 siblings, 0 replies; 5+ messages in thread From: Michael Olbrich @ 2022-06-10 6:49 UTC (permalink / raw) To: ptxdist; +Cc: Alexander Dahl Thanks, applied as e918f376108fc88b22016d47dfe6e1e325b2db45. Michael [sent from post-receive hook] On Fri, 10 Jun 2022 08:49:27 +0200, Alexander Dahl <ada@thorsis.com> wrote: > Six years of changes. Added and removed test tools, changed options, > fixed build issues, improved manual pages, fixed bugs, fixed compiler > warnings, fixed buffer overflows, added features to existing tools, add > json output for some tools, unify command line arguments over different > tools, … > > Signed-off-by: Alexander Dahl <ada@thorsis.com> > Message-Id: <20220602122842.26465-3-ada@thorsis.com> > Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> > > diff --git a/rules/rt-tests.in b/rules/rt-tests.in > index 1cb29b712a04..5eacf4c40464 100644 > --- a/rules/rt-tests.in > +++ b/rules/rt-tests.in > @@ -5,6 +5,7 @@ menuconfig RT_TESTS > select LIBC_PTHREAD > select LIBC_RT > select LIBC_DL > + select NUMACTL > select GCCLIBS_GCC_S if RT_TESTS_RT_MIGRATE_TEST > prompt "rt-tests " > help > @@ -68,10 +69,6 @@ config RT_TESTS_RT_MIGRATE_TEST > bool > prompt "rt-migrate-test" > > -config RT_TESTS_SENDME > - bool > - prompt "sendme" > - > config RT_TESTS_SIGNALTEST > bool > prompt "signaltest" > diff --git a/rules/rt-tests.make b/rules/rt-tests.make > index 7ce4aadbb34a..0ae1c7fa284a 100644 > --- a/rules/rt-tests.make > +++ b/rules/rt-tests.make > @@ -17,8 +17,8 @@ PACKAGES-$(PTXCONF_RT_TESTS) += rt-tests > # > # Paths and names > # > -RT_TESTS_VERSION := 1.0 > -RT_TESTS_MD5 := 3818d2d0a3069291864bf85fde40883b > +RT_TESTS_VERSION := 2.3 > +RT_TESTS_MD5 := 28e8b92be0579a2c6e8c7c2ff1bb2947 > RT_TESTS := rt-tests-$(RT_TESTS_VERSION) > RT_TESTS_SUFFIX := tar.xz > RT_TESTS_URL := \ > @@ -34,7 +34,7 @@ RT_TESTS_LICENSE_FILES := file://COPYING;md5=751419260aa954499f7abaabaa882bbe > # ---------------------------------------------------------------------------- > > RT_TESTS_CONF_TOOL := NO > -RT_TESTS_MAKE_OPT := $(CROSS_ENV_CC) prefix=/usr NUMA=0 > +RT_TESTS_MAKE_OPT := $(CROSS_ENV_CC) prefix=/usr > RT_TESTS_MAKE_ENV := $(CROSS_ENV_FLAGS) > RT_TESTS_INSTALL_OPT := $(RT_TESTS_MAKE_OPT) install > > @@ -49,7 +49,6 @@ RT_TESTS_BIN-$(PTXCONF_RT_TESTS_PI_STRESS) += pi_stress > RT_TESTS_BIN-$(PTXCONF_RT_TESTS_PMQTEST) += pmqtest > RT_TESTS_BIN-$(PTXCONF_RT_TESTS_PTSEMATEST) += ptsematest > RT_TESTS_BIN-$(PTXCONF_RT_TESTS_RT_MIGRATE_TEST) += rt-migrate-test > -RT_TESTS_BIN-$(PTXCONF_RT_TESTS_SENDME) += sendme > RT_TESTS_BIN-$(PTXCONF_RT_TESTS_SIGNALTEST) += signaltest > RT_TESTS_BIN-$(PTXCONF_RT_TESTS_SIGWAITTEST) += sigwaittest > RT_TESTS_BIN-$(PTXCONF_RT_TESTS_SVSEMATEST) += svsematest ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2022-06-10 6:50 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2022-06-02 12:28 [ptxdist] [PATCH 0/2] rt-tests: version bump Alexander Dahl 2022-06-02 12:28 ` [ptxdist] [PATCH 1/2] numactl: Add new package Alexander Dahl 2022-06-10 6:49 ` [ptxdist] [APPLIED] " Michael Olbrich 2022-06-02 12:28 ` [ptxdist] [PATCH 2/2] rt-tests: version bump 1.0 -> 2.3 Alexander Dahl 2022-06-10 6:49 ` [ptxdist] [APPLIED] " Michael Olbrich
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox