33 #ifndef _RTEMS_RECORDCLIENT_H 34 #define _RTEMS_RECORDCLIENT_H 36 #include "recorddata.h" 50 #define RTEMS_RECORD_CLIENT_MAXIMUM_CPU_COUNT 32 53 RTEMS_RECORD_CLIENT_SUCCESS,
54 RTEMS_RECORD_CLIENT_ERROR_INVALID_MAGIC,
55 RTEMS_RECORD_CLIENT_ERROR_UNKNOWN_FORMAT,
56 RTEMS_RECORD_CLIENT_ERROR_UNSUPPORTED_VERSION,
57 RTEMS_RECORD_CLIENT_ERROR_UNSUPPORTED_CPU
58 } rtems_record_client_status;
60 typedef rtems_record_client_status ( *rtems_record_client_handler )(
74 uint32_t time_accumulated;
82 uint64_t to_bt_scaler;
90 rtems_record_item_64 format_64;
94 rtems_record_client_status ( *consume )(
99 rtems_record_client_handler handler;
101 uint32_t header[ 2 ];
116 rtems_record_client_handler handler,
void rtems_record_client_init(rtems_record_client_context *ctx, rtems_record_client_handler handler, void *arg)
Initializes a record client.
Definition: record-client.c:426
rtems_record_client_status rtems_record_client_run(rtems_record_client_context *ctx, const void *buf, size_t n)
Runs the record client to consume new stream data.
Definition: record-client.c:441
rtems_record_event
The record events.
Definition: recorddata.h:88
Definition: recordclient.h:81
Definition: recordclient.h:69
The 32-bit format record item.
Definition: recorddata.h:1181