diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2011-06-24 22:07:20 +0200 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2011-06-25 13:23:06 +0200 |
commit | aeb5e158b9d0fce997a22c12aa832160d2362a63 (patch) | |
tree | 26f2d8ad1a4a4327bf6caad9be1c4c33863c70ab | |
parent | 441103986b6f40d0304824dd5f4183b0af43cb6c (diff) | |
download | rt-tests-aeb5e158b9d0fce997a22c12aa832160d2362a63.tar.gz |
new patch providing a man page for pip_stress
Notice: this object is not reachable from any branch.
This fixes the following lintian warning:
W: rt-tests: binary-without-manpage usr/bin/pip_stress
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Notice: this object is not reachable from any branch.
-rw-r--r-- | debian/changelog | 2 | ||||
-rw-r--r-- | debian/patches/manpage_pip_stress.patch | 51 | ||||
-rw-r--r-- | debian/patches/series | 1 |
3 files changed, 54 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index 1a1e742..7bd397d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,8 @@ rt-tests (0.73-1) UNRELEASED; urgency=low * new upstream release * Fix dkms warning (Closes: LP: #681908). Patch by eraserix, thanks. * add build-{arch,indep} targets to debian/rules + * new patch providing a man page for pip_stress to make lintian a bit + happier. -- Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Fri, 13 May 2011 12:22:25 +0200 diff --git a/debian/patches/manpage_pip_stress.patch b/debian/patches/manpage_pip_stress.patch new file mode 100644 index 0000000..7fce4c0 --- /dev/null +++ b/debian/patches/manpage_pip_stress.patch @@ -0,0 +1,51 @@ +From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> +Subject: man page for pip_stress + +The Debian package checker lintian criticizes that pip_stress doesn't have a +man page. So put a short version of the description from the source file +into a man page to make lintian happy. + +Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> +--- + Makefile | 1 + + src/pi_tests/pip_stress.8 | 25 +++++++++++++++++++++++++ + 2 files changed, 26 insertions(+) + +--- /dev/null ++++ b/src/pi_tests/pip_stress.8 +@@ -0,0 +1,25 @@ ++.TH pip_stress 8 2011-06-24 ++.SH NAME ++pip_stress \- test priority inheritance between processes ++.SH SYNOPSIS ++.B pip_stress ++.SH DESCRIPTION ++.B pip_stress ++creates a priority inversion using three processes and a priority inheritance ++mutex shared via shared memory. ++All three processes are bound to run on the same cpu. ++The process with the lowest priority holds a mutex and is prempted by the ++medium priority process that just runs an infinite loop. ++The third process with the highest priority tries to grab the mutex that is ++hold by the low prio process. ++As a priority inheritance mutex is used the low priority process lends the high ++priority process' priority to unlock the mutex and so stops the medium priority ++process blocking the high priority one. ++ ++.B pip_stress ++doesn't take any options and quits as soon as the priority inversion is ++resolved which should happen instantly. ++ ++.SH AUTHOR ++.B pip_stress ++was written by John Kacur <jkacur@redhat.com>. +--- a/Makefile ++++ b/Makefile +@@ -118,6 +118,7 @@ + gzip src/backfire/backfire.4 -c >"$(DESTDIR)$(mandir)/man4/backfire.4.gz" + gzip src/cyclictest/cyclictest.8 -c >"$(DESTDIR)$(mandir)/man8/cyclictest.8.gz" + gzip src/pi_tests/pi_stress.8 -c >"$(DESTDIR)$(mandir)/man8/pi_stress.8.gz" ++ gzip src/pi_tests/pip_stress.8 -c >"$(DESTDIR)$(mandir)/man8/pip_stress.8.gz" + gzip src/hwlatdetect/hwlatdetect.8 -c >"$(DESTDIR)$(mandir)/man8/hwlatdetect.8.gz" + gzip src/ptsematest/ptsematest.8 -c >"$(DESTDIR)$(mandir)/man8/ptsematest.8.gz" + gzip src/sigwaittest/sigwaittest.8 -c >"$(DESTDIR)$(mandir)/man8/sigwaittest.8.gz" diff --git a/debian/patches/series b/debian/patches/series index b96f0d8..b9d66d7 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,3 +1,4 @@ install_hwlatdetect_into_sbindir debian_adapt_errormsg_on_failure_to_open_device kernvar_fix_possible_buffer_overflow +manpage_pip_stress.patch |