[Skiboot] [PATCH 00/15] Improve usability of skiboot traces

Jordan Niethe jniethe5 at gmail.com
Mon Mar 25 11:14:10 AEDT 2019


Hi,
Currently the skiboot trace buffer are underused. This series adds the
trace buffers to the skiboot sysfs export directory. The dump_trace tool is
updated to mmap the traces from this directory so the functions from
external/trace.c can be used to read from them. This improves on the
current lseek/read method used by dump_trace as many more cases are
handled, such as the buffer wrapping around, and the writer overwriting
entries. Additional functionality is added to the dump_trace tool to
allow dumping multiple buffers at the same time as well and being able
to follow the output from traces.




More information about the Skiboot mailing list