Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

#3904 closed enhancement (fixed)

Add methods to dump the event records in base64 encoding (optionally zlib compressed)

Reported by: Sebastian Huber Owned by: Sebastian Huber
Priority: normal Milestone: 5.1
Component: unspecified Version: 5
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

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

Change History (19)

comment:1 Changed on 03/13/20 at 11:36:12 by Sebastian Huber

Summary: Add methods to dump the event records in base64 encoding (optinally compressed)Add methods to dump the event records in base64 encoding (optionally zlib compressed)

comment:2 Changed on 03/18/20 at 06:50:00 by Sebastian Huber <sebastian.huber@…>

In [changeset:"a6b36334593a619d7624bb91ccab19192e4f523e/rtems" a6b36334/rtems]:

score: Add _IO_Base64()

Update #3904.

comment:3 Changed on 03/18/20 at 06:50:04 by Sebastian Huber <sebastian.huber@…>

In [changeset:"c584d4eda4605b14b3731d72b85305ad58efcb97/rtems" c584d4e/rtems]:

rtems: Add rtems_put_char()

Update #3904.

comment:4 Changed on 03/18/20 at 06:50:07 by Sebastian Huber <sebastian.huber@…>

In [changeset:"ab42b3e1002306ed343adc47c460788ed31df66f/rtems" ab42b3e/rtems]:

record: Add rtems_record_dump()

Add rtems_record_dump_base64() and rtems_record_dump_base64_zlib().

Add CONFIGURE_RECORD_FATAL_DUMP_BASE64 and
CONFIGURE_RECORD_FATAL_DUMP_BASE64_ZLIB configuration options.

Update #3904.

comment:5 Changed on 03/19/20 at 06:38:45 by Sebastian Huber <sebastian.huber@…>

In [changeset:"14f0957b00d104a538b839f6e41e04cf670a938c/rtems-tools" 14f0957/rtems-tools]:

record: Fix format

Update #3904.

comment:6 Changed on 03/19/20 at 06:38:47 by Sebastian Huber <sebastian.huber@…>

In [changeset:"4aa0d5f42fc5baba54c5723d207f78d1074f4445/rtems-tools" 4aa0d5f/rtems-tools]:

record: Guard config.h include

Update #3904.

comment:7 Changed on 03/19/20 at 06:38:50 by Sebastian Huber <sebastian.huber@…>

In [changeset:"8db5ce1e95c1581be665fb228d3cbd3ccea78f49/rtems-tools" 8db5ce1/rtems-tools]:

record: Format file header

Update #3904.

comment:8 Changed on 03/19/20 at 06:38:52 by Sebastian Huber <sebastian.huber@…>

In [changeset:"b60abbfa83e09895b116551f7b44a431b0ee6d42/rtems-tools" b60abbf/rtems-tools]:

record: Add INI file parser

Import from:

https://github.com/benhoyt/inih

commit 351217124ddb3e3fe2b982248a04c672350bb0af
Author: Stephan Lachnit <stephanlachnit@…>
Date: Sun Mar 1 07:31:28 2020 +0100

r48 release (#100)

  • Bump copyright to 2020
  • Remove makefile for static library
  • meson: version 48

Signed-off-by: Stephan Lachnit <stephanlachnit@…>

Update #3904.

comment:9 Changed on 03/19/20 at 06:38:55 by Sebastian Huber <sebastian.huber@…>

In [changeset:"b066705a5524f95187e93403c5227ac3f0efdf65/rtems-tools" b066705/rtems-tools]:

record: Add option to print config default values

Update #3904.

comment:10 Changed on 03/19/20 at 06:38:57 by Sebastian Huber <sebastian.huber@…>

In [changeset:"bfc8f2de784825448e0b44b83e32b9378d01d465/rtems-tools" bfc8f2d/rtems-tools]:

record: Add filter base class

Update #3904.

comment:11 Changed on 03/19/20 at 06:38:59 by Sebastian Huber <sebastian.huber@…>

In [changeset:"5bc9f73a48367b3fff95689e3467be1b9e1f97f8/rtems-tools" 5bc9f73/rtems-tools]:

record: Add base64 filter class

Update #3904.

comment:12 Changed on 03/19/20 at 06:39:02 by Sebastian Huber <sebastian.huber@…>

In [changeset:"d96417111a51a1f28e1d0a10eb956169679d683e/rtems-tools" d964171/rtems-tools]:

record: Add support for base64 encoded input

Update #3904.

comment:13 Changed on 03/19/20 at 06:39:04 by Sebastian Huber <sebastian.huber@…>

In [changeset:"5fa2c3b3cb8fb04adb5dace900ce03e8b5a1c9b4/rtems-tools" 5fa2c3b/rtems-tools]:

record: Add zlib filter class

Update #3904.

comment:14 Changed on 03/19/20 at 06:39:06 by Sebastian Huber <sebastian.huber@…>

In [changeset:"390522a4fa401b20c6767b045305d1e433d9b6c6/rtems-tools" 390522a/rtems-tools]:

record: Add support for zlib compressed input

Update #3904.

comment:15 Changed on 03/19/20 at 06:39:08 by Sebastian Huber <sebastian.huber@…>

In [changeset:"16eff9bc02fdf7115cff85ea4d8030037e86e0d7/rtems-tools" 16eff9b/rtems-tools]:

record: Increase input buffer and alignment

Update #3904.

comment:16 Changed on 03/23/20 at 06:06:22 by Sebastian Huber <sebastian.huber@…>

In [changeset:"68f90be3c8a2d770a14d0319386ef19b650377d2/rtems-source-builder" 68f90be/rtems-source-builder]:

5: Update rtems-tools

Pick up new features for rtems-record-lttng.

Update #3904.

comment:17 Changed on 03/23/20 at 06:41:33 by Sebastian Huber <sebastian.huber@…>

In [changeset:"3fd488915755766eb499ae8e002677734c64809e/rtems" 3fd4889/rtems]:

conf: Improve evaluation of event recording opts

Check for configuration errors earlier. Allow fatal dumps without the
other extensions. Add some warnings.

Update #3904.

comment:18 Changed on 03/24/20 at 06:50:59 by Sebastian Huber <sebastian.huber@…>

In [changeset:"62d58f229f7b499ce02ed644c3d628281bbd7d99/rtems-docs" 62d58f2/rtems-docs]:

c-user: Document new event record config options

Update #3904.

comment:19 Changed on 04/12/20 at 16:05:15 by Sebastian Huber <sebastian.huber@…>

Resolution: fixed
Status: assignedclosed

In [changeset:"ea4c098bc29250b79f3200bd4dceef8becff44fd/rtems-docs" ea4c098/rtems-docs]:

user: Document event recording

Close #3904.

Note: See TracTickets for help on using tickets.