summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2011-09-01 21:21:47 -0400
committerSteven Rostedt <rostedt@goodmis.org>2011-09-01 21:21:47 -0400
commit8c1e851bfedd000a13a6faaee4cb775cda785b37 (patch)
tree9d69856eeb114583f9f9a09dde24c28107c2c2d5
parent1f4e25c03767174ad441e78e49c1744741efff31 (diff)
downloadcyclictest-8c1e851bfedd000a13a6faaee4cb775cda785b37.tar.gz
do not touch tracing_thresh
The -b argument is for stopping the cyclictest when it misses a wakup by that # microseconds. Setting the tracing_thresh causes the latency tracer to ignore any latency under tracing_thresh. These two meanings are completely agnostic to each other, and should not be the same. We want the max latency, that should be good enough. Not only those that are bigger than our missed deadline. That misses most of our traces that we want. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
-rw-r--r--src/cyclictest/cyclictest.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/cyclictest/cyclictest.c b/src/cyclictest/cyclictest.c
index dc97939..860eb55 100644
--- a/src/cyclictest/cyclictest.c
+++ b/src/cyclictest/cyclictest.c
@@ -407,9 +407,6 @@ static void setup_tracer(void)
!trace_file_exists("tracing_on"))
setkernvar("tracing_enabled", "1");
- sprintf(buffer, "%d", tracelimit);
- setkernvar("tracing_thresh", buffer);
-
/* ftrace_enabled is a sysctl variable */
fileprefix = procfileprefix;
if (ftrace)