RTEMS | Improve event record handling (!282)
Sebastian Huber (@sebhub)
gitlab at rtems.org
Sun Nov 3 11:29:34 UTC 2024
Sebastian Huber commented on a discussion on cpukit/libtrace/record/record-fetch.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/282#note_114246
> +#ifdef HAVE_CONFIG_H
> +#include "config.h"
> +#endif
> +
> +#include <rtems/record.h>
> +
> +#include <rtems.h>
> +#include <string.h>
> +
> +/*
> + * One for RTEMS_RECORD_PROCESSOR, one for the optional
> + * RTEMS_RECORD_PER_CPU_OVERFLOW.
> + */
> +#define RECORD_FETCH_HEADER_ITEMS 2
> +
> +size_t rtems_record_fetch_recommended_item_count( void )
The value depends on the application configuration. It is used to get the buffers for the TCP stream.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/282#note_114246
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20241103/51d839fd/attachment.htm>
More information about the bugs
mailing list