User Tools

Site Tools


realtime:documentation:howto:debugging:debug-steps

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
realtime:documentation:howto:debugging:debug-steps [2018/08/21 09:28]
ebugden [Trace size] Update link
realtime:documentation:howto:debugging:debug-steps [2018/08/21 09:29]
ebugden [Trace size] Update link
Line 43: Line 43:
 Having irrelevant information in the trace makes it more difficult to read, so it is good practice to stop the tracing immediately after the latency occurs. This prevents the trace from becoming longer than it needs to be.  Having irrelevant information in the trace makes it more difficult to read, so it is good practice to stop the tracing immediately after the latency occurs. This prevents the trace from becoming longer than it needs to be. 
  
-One way to do this is by using [[realtime:​documentation:​howto:​tools:​cyclictest:​start|Cyclictest]]. Cyclictest has an option that causes tracing to stop after a certain specified latency limit is exceeded. There are instructions in the documentation about how to adjust the latency detection limit as a function of the tracing overhead so that tracing is stopped at the correct time. Additionally,​ several different types of Ftrace tracers can be used through Cyclictest.+One way to do this is by using [[realtime:​documentation:​howto:​tools:​cyclictest:​tracing|Cyclictest]]. Cyclictest has an option that causes tracing to stop after a certain specified latency limit is exceeded. There are instructions in the documentation about how to adjust the latency detection limit as a function of the tracing overhead so that tracing is stopped at the correct time. Additionally,​ several different types of Ftrace tracers can be used through Cyclictest.
  
 Ftrace can also be used by writing to the files in tracefs that are used to control the tracing (e.g. current_tracer,​ tracing_on). The writes to the files can be added directly to the programs that are running on the system. Ftrace can also be used by writing to the files in tracefs that are used to control the tracing (e.g. current_tracer,​ tracing_on). The writes to the files can be added directly to the programs that are running on the system.
realtime/documentation/howto/debugging/debug-steps.txt ยท Last modified: 2023/10/03 05:39 by costa.shul