[PATCH 0/3] Add support for event record dumps

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Mar 13 12:02:01 UTC 2020


This helps to get the event records easily via a serial line in case of a crash.

Sebastian Huber (3):
  score: Add _IO_Base64()
  rtems: Add rtems_put_char()
  record: Add rtems_record_dump()

 cpukit/Makefile.am                           |   7 ++
 cpukit/headers.am                            |   1 +
 cpukit/include/rtems/bspIo.h                 |  10 ++
 cpukit/include/rtems/confdefs/extensions.h   |  18 ++-
 cpukit/include/rtems/record.h                |  32 +++---
 cpukit/include/rtems/recorddump.h            | 118 ++++++++++++++++++++
 cpukit/include/rtems/score/io.h              |  27 ++++-
 cpukit/libcsupport/src/rtems_put_char.c      |  38 +++++++
 cpukit/libcsupport/src/vprintk.c             |   7 +-
 cpukit/libtrace/record/record-dump-base64.c  | 110 ++++++++++++++++++
 cpukit/libtrace/record/record-dump-fatal.c   |  50 +++++++++
 cpukit/libtrace/record/record-dump-zbase64.c | 160 +++++++++++++++++++++++++++
 cpukit/libtrace/record/record-dump-zfatal.c  |  52 +++++++++
 cpukit/libtrace/record/record-dump.c         | 108 ++++++++++++++++++
 cpukit/score/src/iobase64.c                  |  81 ++++++++++++++
 testsuites/libtests/Makefile.am              |   1 +
 testsuites/libtests/record02/init.c          |  38 +++++--
 testsuites/sptests/spprintk/init.c           |  56 ++++++++++
 18 files changed, 878 insertions(+), 36 deletions(-)
 create mode 100644 cpukit/include/rtems/recorddump.h
 create mode 100644 cpukit/libcsupport/src/rtems_put_char.c
 create mode 100644 cpukit/libtrace/record/record-dump-base64.c
 create mode 100644 cpukit/libtrace/record/record-dump-fatal.c
 create mode 100644 cpukit/libtrace/record/record-dump-zbase64.c
 create mode 100644 cpukit/libtrace/record/record-dump-zfatal.c
 create mode 100644 cpukit/libtrace/record/record-dump.c
 create mode 100644 cpukit/score/src/iobase64.c

-- 
2.16.4



More information about the devel mailing list