cyclictest: Fixed incorrect wakeup reset interface
Dear Clark Williams,
When we try to run ftrace with cyclictest command of rt-test testsuite, We view the error according to base kernel version.
We need to modify this hard coded interface.
* Test environment:
. -rt patch version : 2.6.33.7.2-rt30
. rt-tests repository version : 0.72
http://git.kernel.org/?p=linux/kernel/git/clrkwllms/rt-tests.git
==CUT HERE==
Quoted 1 line
From
f3d6427b98334e10df51f1a33cf36acd1b76b372Mon Sep 17 00:00:00 2001
From: Geunsik Lim <[email protected]>
Date: Fri, 18 Feb 2011 23:39:56 +0900
Subject: [PATCH] [rt-tests:cyclictest] Fixed incorrect wakeup reset interface
When we try to run ftrace with cyclictest command of rt-test, We view the error according to base kernel version. We need to modify this hard coded interface.
Signed-off-by Geunsik Lim <[email protected]>
--- src/cyclictest/cyclictest.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
src/cyclictest/cyclictest.c +2 -1
@@ -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" );
@@ -501,6 +501,7 @@ static void setup_tracer(void)if (ftrace)setkernvar ("mcount_enabled" ,"1" );setkernvar ("trace_enabled" ,"1" ); +setkernvar ("latency_hist/wakeup_latency/reset" ,"1" ); }tracing (1 );
Signature · 14 lines
1.7.1 ----------------------------------------------- To unsubscribe from this list: send the line "unsubscribe linux-***" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ Geunsik Lim ( Samsung Electronics ) e-Mail :1) [email protected] 2) [email protected] , [email protected] HomePage: http://blog.naver.com/invain/ -----------------------------------------------