diff options
-rw-r--r-- | include/litmus/sched_trace.h | 4 | ||||
-rw-r--r-- | litmus/sched_task_trace.c | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/include/litmus/sched_trace.h b/include/litmus/sched_trace.h index f7b2189374b2..7ca34cb13881 100644 --- a/include/litmus/sched_trace.h +++ b/include/litmus/sched_trace.h | |||
@@ -23,7 +23,8 @@ struct st_param_data { /* regular params */ | |||
23 | u32 period; | 23 | u32 period; |
24 | u32 phase; | 24 | u32 phase; |
25 | u8 partition; | 25 | u8 partition; |
26 | u8 __unused[3]; | 26 | u8 class; |
27 | u8 __unused[2]; | ||
27 | }; | 28 | }; |
28 | 29 | ||
29 | struct st_release_data { /* A job is was/is going to be released. */ | 30 | struct st_release_data { /* A job is was/is going to be released. */ |
@@ -40,6 +41,7 @@ struct st_assigned_data { /* A job was asigned to a CPU. */ | |||
40 | struct st_switch_to_data { /* A process was switched to on a given CPU. */ | 41 | struct st_switch_to_data { /* A process was switched to on a given CPU. */ |
41 | u64 when; /* When did this occur? */ | 42 | u64 when; /* When did this occur? */ |
42 | u32 exec_time; /* Time the current job has executed. */ | 43 | u32 exec_time; /* Time the current job has executed. */ |
44 | u8 __unused[4]; | ||
43 | 45 | ||
44 | }; | 46 | }; |
45 | 47 | ||
diff --git a/litmus/sched_task_trace.c b/litmus/sched_task_trace.c index bd490054f183..5ef8d09ab41f 100644 --- a/litmus/sched_task_trace.c +++ b/litmus/sched_task_trace.c | |||
@@ -131,6 +131,7 @@ feather_callback void do_sched_trace_task_param(unsigned long id, unsigned long | |||
131 | rec->data.param.period = get_rt_period(t); | 131 | rec->data.param.period = get_rt_period(t); |
132 | rec->data.param.phase = get_rt_phase(t); | 132 | rec->data.param.phase = get_rt_phase(t); |
133 | rec->data.param.partition = get_partition(t); | 133 | rec->data.param.partition = get_partition(t); |
134 | rec->data.param.class = get_class(t); | ||
134 | put_record(rec); | 135 | put_record(rec); |
135 | } | 136 | } |
136 | } | 137 | } |