Help needed with interpreting RTEMS 6.1 rtrace binary and visualizing trace data

Hello everyone,

I’m currently having trouble using the RTEMS tracing feature on RTEMS 6.1 and I would appreciate some guidance.

  1. After running the sequence of shell commands
    rtrace start, rtrace stop, and rtrace save data.bin, I obtained a data.bin trace file. However, I cannot find any documentation explaining how to view or interpret the contents of this file.
  2. I attempted to “dump” the file using the rtems-record-lttng tools, but they only generated a metadata file. There was no actual event timeline or human-readable output produced, so I’m unsure whether I’m using the tool correctly.
  3. I also tried the trace-converter tool to process the .bin file, but it failed with the message:
    Error while running objdump ***.exe
    followed by a segmentation fault.

At this point, I am not sure whether these tools are actually intended to work with the generated tracing binary file.


What I am trying to achieve next:

After dumping/processing the binary trace file, I would like to:

  • Understand what the next step is supposed to be — i.e. does the binary need to be converted into another intermediate format?
  • Visualize the trace data in a timeline/event viewer, similar to what Trace Compass provides for LTTng recordings
  • Know if there is an official or recommended workflow to convert RTEMS trace output into a format compatible with existing visualization tools (e.g. LTTng/CTF format, JSON, etc.)

If anyone has experience with the RTEMS tracing pipeline — specifically, how to go from the raw .bin produced by rtrace save to something that can actually be viewed and analyzed — I would greatly appreciate any pointers.

Thank you in advance.