linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] minor patches for rt-tests
@ 2010-11-29 15:38 Wolfram Sang
  2010-11-29 15:38 ` [PATCH 1/2] cyclictest: fix wakeup_latency name for tracing Wolfram Sang
  2010-11-29 15:38 ` [PATCH 2/2] rt-tests: Simplify makefile a bit Wolfram Sang
  0 siblings, 2 replies; 3+ messages in thread
From: Wolfram Sang @ 2010-11-29 15:38 UTC (permalink / raw)
  To: linux-rt-users; +Cc: Clark Williams, Wolfram Sang

Here are two minor patches taken from ptxdist. Easy stuff :)

Wolfram Sang (2):
  cyclictest: fix wakeup_latency name for tracing
  rt-tests: Simplify makefile a bit

 Makefile                    |    6 ++----
 src/cyclictest/cyclictest.c |    2 +-
 2 files changed, 3 insertions(+), 5 deletions(-)

-- 
1.7.2.3


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/2] cyclictest: fix wakeup_latency name for tracing
  2010-11-29 15:38 [PATCH 0/2] minor patches for rt-tests Wolfram Sang
@ 2010-11-29 15:38 ` Wolfram Sang
  2010-11-29 15:38 ` [PATCH 2/2] rt-tests: Simplify makefile a bit Wolfram Sang
  1 sibling, 0 replies; 3+ messages in thread
From: Wolfram Sang @ 2010-11-29 15:38 UTC (permalink / raw)
  To: linux-rt-users; +Cc: Clark Williams, Wolfram Sang, Luotao Fu

The desired directory is named "wakeup", not "wakeup_latency".

Signed-off-by: Luotao Fu <l.fu@pengutronix.de>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
---
 src/cyclictest/cyclictest.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/cyclictest/cyclictest.c b/src/cyclictest/cyclictest.c
index 0847aed..abcdd75 100644
--- a/src/cyclictest/cyclictest.c
+++ b/src/cyclictest/cyclictest.c
@@ -487,7 +487,7 @@ static void setup_tracer(void)
 				setkernvar(traceroptions, traceptr[i]);
 		}
 		setkernvar("tracing_max_latency", "0");
-		setkernvar("latency_hist/wakeup_latency/reset", "1");
+		setkernvar("latency_hist/wakeup/reset", "1");
 	} else {
 		setkernvar("trace_all_cpus", "1");
 		setkernvar("trace_freerunning", "1");
-- 
1.7.2.3


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] rt-tests: Simplify makefile a bit
  2010-11-29 15:38 [PATCH 0/2] minor patches for rt-tests Wolfram Sang
  2010-11-29 15:38 ` [PATCH 1/2] cyclictest: fix wakeup_latency name for tracing Wolfram Sang
@ 2010-11-29 15:38 ` Wolfram Sang
  1 sibling, 0 replies; 3+ messages in thread
From: Wolfram Sang @ 2010-11-29 15:38 UTC (permalink / raw)
  To: linux-rt-users; +Cc: Clark Williams, Wolfram Sang

install can also create directories with -D.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
---
 Makefile |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile
index b83614c..c11e43a 100644
--- a/Makefile
+++ b/Makefile
@@ -114,12 +114,10 @@ install: all
 	mkdir -p "$(DESTDIR)$(srcdir)" "$(DESTDIR)$(mandir)/man8"
 	cp $(TARGETS) "$(DESTDIR)$(bindir)"
 	if test -n "$(PYLIB)" ; then \
-		mkdir -p "$(DESTDIR)$(PYLIB)" ; \
-		install -m 755 src/hwlatdetect/hwlatdetect.py $(DESTDIR)$(PYLIB)/hwlatdetect.py ; \
+		install -D -m 755 src/hwlatdetect/hwlatdetect.py $(DESTDIR)$(PYLIB)/hwlatdetect.py ; \
 		ln -s $(PYLIB)/hwlatdetect.py "$(DESTDIR)$(bindir)/hwlatdetect" ; \
 	fi
-	mkdir -p "$(DESTDIR)$(srcdir)/backfire"
-	install -m 644 src/backfire/backfire.c "$(DESTDIR)$(srcdir)/backfire/backfire.c"
+	install -D -m 644 src/backfire/backfire.c "$(DESTDIR)$(srcdir)/backfire/backfire.c"
 	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"
-- 
1.7.2.3


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-11-29 15:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-29 15:38 [PATCH 0/2] minor patches for rt-tests Wolfram Sang
2010-11-29 15:38 ` [PATCH 1/2] cyclictest: fix wakeup_latency name for tracing Wolfram Sang
2010-11-29 15:38 ` [PATCH 2/2] rt-tests: Simplify makefile a bit Wolfram Sang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).