[Skiboot] [PATCH v2 00/16] Improvements to trace buffers

Jordan Niethe jniethe5 at gmail.com
Tue Apr 2 10:43:11 AEDT 2019


The skiboot tracing faculties are not being used to their full extent
currently, despite the potential to be very useful. In this series
Patches 01-05 fix various bugs. Patches 06-16 aim to improve the
functionality of the dump_trace tool. This is done by setting up the
trace buffers to be mmaped, so the existing functions for reading trace
can be used by dump_trace. This provides numerous advantages over the
lseek/write method currently used, including handling overflow and
wrapping in the buffer. Support is also added to dump multiple traces at
the same time and a 'follow' option like 'tail -f' is added.




More information about the Skiboot mailing list