summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-05-12 11:14:38 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-05-12 13:24:42 +0200
commit7bd18697f80af648d6ce8affe75227d070954fbf (patch)
tree7ea25af2295407606b402caf6facf117d9fcdaec /cpukit/libmisc
parentcapture: Fix buffer allocation and free (diff)
downloadrtems-7bd18697f80af648d6ce8affe75227d070954fbf.tar.bz2
capture: Compact rtems_capture_record_t
Order fields according to alignment to reduce structure internal padding.
Diffstat (limited to 'cpukit/libmisc')
-rw-r--r--cpukit/libmisc/capture/capture.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libmisc/capture/capture.h b/cpukit/libmisc/capture/capture.h
index 99c854057a..ab461a92e5 100644
--- a/cpukit/libmisc/capture/capture.h
+++ b/cpukit/libmisc/capture/capture.h
@@ -153,9 +153,9 @@ typedef struct rtems_capture_control_s
*/
typedef struct rtems_capture_record_s
{
- uint32_t events;
rtems_capture_time_t time;
size_t size;
+ uint32_t events;
rtems_id task_id;
} rtems_capture_record_t;