diff options
Diffstat (limited to 'include/litmus/rt_param.h')
-rw-r--r-- | include/litmus/rt_param.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/include/litmus/rt_param.h b/include/litmus/rt_param.h index c8ee64569dbb..43daaf84101d 100644 --- a/include/litmus/rt_param.h +++ b/include/litmus/rt_param.h | |||
@@ -47,6 +47,28 @@ typedef enum { | |||
47 | AUX_FUTURE = (AUX_CURRENT<<2) | 47 | AUX_FUTURE = (AUX_CURRENT<<2) |
48 | } aux_flags_t; | 48 | } aux_flags_t; |
49 | 49 | ||
50 | /* mirror of st_event_record_type_t | ||
51 | * Assume all are UNsupported, unless otherwise stated. */ | ||
52 | typedef enum { | ||
53 | ST_INJECT_NAME = 1, /* supported */ | ||
54 | ST_INJECT_PARAM, /* supported */ | ||
55 | ST_INJECT_RELEASE, /* supported */ | ||
56 | ST_INJECT_ASSIGNED, | ||
57 | ST_INJECT_SWITCH_TO, | ||
58 | ST_INJECT_SWITCH_AWAY, | ||
59 | ST_INJECT_COMPLETION, /* supported */ | ||
60 | ST_INJECT_BLOCK, | ||
61 | ST_INJECT_RESUME, | ||
62 | ST_INJECT_ACTION, | ||
63 | ST_INJECT_SYS_RELEASE, /* supported */ | ||
64 | } sched_trace_injection_events_t; | ||
65 | |||
66 | struct st_inject_args { | ||
67 | lt_t release; | ||
68 | lt_t deadline; | ||
69 | unsigned int job_no; | ||
70 | }; | ||
71 | |||
50 | /* We use the common priority interpretation "lower index == higher priority", | 72 | /* We use the common priority interpretation "lower index == higher priority", |
51 | * which is commonly used in fixed-priority schedulability analysis papers. | 73 | * which is commonly used in fixed-priority schedulability analysis papers. |
52 | * So, a numerically lower priority value implies higher scheduling priority, | 74 | * So, a numerically lower priority value implies higher scheduling priority, |