ROS traces can be generated using the tracetools ROS package and a modified version of the ros_comm package (for the moment).
Trace generation examples and test traces can be found here.