capture: Compact rtems_capture_record_t

Order fields according to alignment to reduce structure internal
padding.
This commit is contained in:
Sebastian Huber
2016-05-12 11:14:38 +02:00
parent 2f11d4a014
commit 7bd18697f8

View File

@@ -153,9 +153,9 @@ typedef struct rtems_capture_control_s
*/ */
typedef struct rtems_capture_record_s typedef struct rtems_capture_record_s
{ {
uint32_t events;
rtems_capture_time_t time; rtems_capture_time_t time;
size_t size; size_t size;
uint32_t events;
rtems_id task_id; rtems_id task_id;
} rtems_capture_record_t; } rtems_capture_record_t;