Changes between Version 5 and Version 6 of Developer/Tracing/Trace_Buffering


Ignore:
Timestamp:
Mar 29, 2015, 10:14:58 AM (5 years ago)
Author:
Chris Johns
Comment:

Add extra trace options.

Legend:

Unmodified
Added
Removed
Modified
  • Developer/Tracing/Trace_Buffering

    v5 v6  
    246246The trace report has an entry and exit per line. The first value is the absolute time in nano-seconds and the second column is the trace sample difference also in nano-seconds. The third column is the executing thread RTEMS Id followed by the current and real priority for the executing thread. The `>` is an entry record and `<` is an exit record. Finally the trace function name and the arguments or return value. The arguments are annotated with the type of the function.
    247247
     248You can use the trace command with the following options. To report from record 0 for 200 records:
     249
     250{{{
     251[/] # rtrace trace +200
     252}}}
     253
     254To report from 300 to 350 use:
     255
     256{{{
     257[/] # rtrace trace 300 350
     258}}}
     259
     260To report from 500 and the next 200 records:
     261
     262{{{
     263[/] # rtrace trace 500 +200
     264}}}
     265
    248266If you have the ability to extract data from your target with via a file system you can save the buffer to disk with:
    249267