RTEMS | Improve event record handling (!282)

Sebastian Huber (@sebhub) gitlab at rtems.org
Sun Nov 3 14:14:42 UTC 2024




Sebastian Huber commented on a discussion on cpukit/include/rtems/record.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/282#note_114254

 > + *   current round of record fetches for all configure processors is done.
 >   *
 > - * @param visitor The visitor function.
 > - * @param arg The argument for the visitor function.
 > + * @retval RTEMS_RECORD_FETCH_CONTINUE This return status indicates that the
 > + *   current round of record fetches for all configure processors has to
 > + *   continue.
 > + *
 > + * @retval RTEMS_RECORD_FETCH_INVALID_ITEM_COUNT This return status indicates
 > + *   that the specified item count was invalid.
 >   */
 > -void rtems_record_drain( rtems_record_drain_visitor visitor, void *arg );
 > +rtems_record_fetch_status rtems_record_fetch(
 > +  rtems_record_fetch_control *control,
 > +  rtems_record_item          *items,
 > +  size_t                      count

I changed the fetch function to use only the control parameter.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/282#note_114254
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/1f9c89e5/attachment-0001.htm>


More information about the bugs mailing list