User Tools

Site Tools


realtime:documentation:howto:tools:cyclictest:tracing

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
realtime:documentation:howto:tools:cyclictest:tracing [2022/01/19 20:00]
bartwensley [Measuring the Tracing Overhead] Removed --ftrace option as it was removed from cyclictest in rt-tests version 1.4.
realtime:documentation:howto:tools:cyclictest:tracing [2022/01/19 20:01] (current)
bartwensley [Producing a Trace] Removed --ftrace option which has not been supported since rt-tests version 1.4.
Line 51: Line 51:
 ==== Producing a Trace ==== ==== Producing a Trace ====
  
-Finally, a trace that includes the latency can be produced by running Cyclictest with a break trace limit that is slightly below the maximum latency value that was observed with tracing enabled. Continuing the example from the previous section, if the maximum latency with the overhead from function tracing is 190 us then the following command could be used to produce the trace:+Finally, a trace that includes the latency can be produced by starting ftrace and then running Cyclictest with a break trace limit that is slightly below the maximum latency value that was observed with tracing enabled. Continuing the example from the previous section, if the maximum latency with the overhead from function tracing is 190 us then the following command could be used to produce the trace:
  
 <code bash> <code bash>
-cyclictest --mlockall --smp --priority=80 --interval=200 --distance=0 --breaktrace=180 --ftrace+cyclictest --mlockall --smp --priority=80 --interval=200 --distance=0 --breaktrace=180 --tracemark
 </​code>​ </​code>​
  
 using a break trace limit of 180 us. This new limit will cause Cyclictest to stop when the maximum latency occurs and will produce the relevant trace. This trace can then be viewed via tracefs in the same way as other Ftrace traces. using a break trace limit of 180 us. This new limit will cause Cyclictest to stop when the maximum latency occurs and will produce the relevant trace. This trace can then be viewed via tracefs in the same way as other Ftrace traces.
realtime/documentation/howto/tools/cyclictest/tracing.txt ยท Last modified: 2022/01/19 20:01 by bartwensley