From 13b4409a9d800eb903926675ea07da6bf4ca6f6b Mon Sep 17 00:00:00 2001 From: Glenn Elliott Date: Tue, 26 Apr 2011 16:53:27 -0400 Subject: Updated to match packed sched_trace data structure. --- include/sched_trace.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/sched_trace.h b/include/sched_trace.h index 717c315..e5fdf2b 100644 --- a/include/sched_trace.h +++ b/include/sched_trace.h @@ -29,7 +29,7 @@ struct st_trace_header { #define ST_NAME_LEN 16 struct st_name_data { char cmd[ST_NAME_LEN];/* The name of the executable of this process. */ -}; +} __attribute__((packed)); struct st_param_data { /* regular params */ u32 wcet; @@ -106,8 +106,8 @@ struct st_tasklet_begin_data { struct st_tasklet_end_data { u64 when; - u8 flushed; u16 exe_pid; + u8 flushed; u8 __unused[5]; } __attribute__((packed)); -- cgit v1.2.2