xref: /linux/tools/sched_ext/include/scx/enum_defs.autogen.h (revision bf1079577a116f0685e7025b9ee2547345ee1c63)
1 /*
2  * WARNING: This file is autogenerated from gen_enum_defs.py [1].
3  *
4  * [1] https://github.com/sched-ext/scx/blob/main/scripts/gen_enum_defs.py
5  */
6 
7 #ifndef __ENUM_DEFS_AUTOGEN_H__
8 #define __ENUM_DEFS_AUTOGEN_H__
9 
10 #define HAVE_SCX_ARENA_MIN_ORDER
11 #define HAVE_SCX_ARENA_GROW_PAGES
12 #define HAVE___SCX_CAP_ENQ_IMMED
13 #define HAVE___SCX_CAP_ENQ
14 #define HAVE___SCX_CAP_PREEMPT
15 #define HAVE___SCX_CAP_PERF
16 #define HAVE___SCX_NR_CAPS
17 #define HAVE___SCX_CAP_ALL
18 #define HAVE_SCX_CAP_ENQ_IMMED
19 #define HAVE_SCX_CAP_ENQ
20 #define HAVE_SCX_CAP_PREEMPT
21 #define HAVE_SCX_CAP_PERF
22 #define HAVE_SCX_CAP_BASE
23 #define HAVE_SCX_CAPS_REENQ_ON_LOSS
24 #define HAVE_SCX_CID_SHARD_SIZE_DFL
25 #define HAVE_SCX_CID_SHARD_MAX_CPUS
26 #define HAVE_SCX_DSP_DFL_MAX_BATCH
27 #define HAVE_SCX_DSP_MAX_LOOPS
28 #define HAVE_SCX_WATCHDOG_MAX_TIMEOUT
29 #define HAVE_SCX_RESCUE_DFL_BW_PPT
30 #define HAVE_SCX_RESCUE_MAX_BW_PPT
31 #define HAVE_SCX_RESCUE_DISABLE
32 #define HAVE_SCX_RESCUE_DFL_QUANTUM_US
33 #define HAVE_SCX_RESCUE_MIN_QUANTUM_US
34 #define HAVE_SCX_RESCUE_MAX_QUANTUM_US
35 #define HAVE_SCX_RESCUE_MIN_SLICE_US
36 #define HAVE_SCX_RESCUE_OVERLOAD_MULT
37 #define HAVE_SCX_RESCUE_MIN_OVERLOAD_MS
38 #define HAVE_SCX_RESCUE_MAX_OVERLOAD_MS
39 #define HAVE_SCX_TID_CHUNK
40 #define HAVE_SCX_EXIT_BT_LEN
41 #define HAVE_SCX_EXIT_MSG_LEN
42 #define HAVE_SCX_EXIT_DUMP_DFL_LEN
43 #define HAVE_SCX_CPUPERF_ONE
44 #define HAVE_SCX_TASK_ITER_BATCH
45 #define HAVE_SCX_BYPASS_HOST_NTH
46 #define HAVE_SCX_BYPASS_LB_DFL_INTV_US
47 #define HAVE_SCX_BYPASS_LB_DONOR_PCT
48 #define HAVE_SCX_BYPASS_LB_MIN_DELTA_DIV
49 #define HAVE_SCX_BYPASS_LB_BATCH
50 #define HAVE_SCX_REENQ_MAX_REPEAT
51 #define HAVE_SCX_SUB_MAX_DEPTH
52 #define HAVE_SCX_CPU_PREEMPT_RT
53 #define HAVE_SCX_CPU_PREEMPT_DL
54 #define HAVE_SCX_CPU_PREEMPT_STOP
55 #define HAVE_SCX_CPU_PREEMPT_UNKNOWN
56 #define HAVE_SCX_DEQ_SLEEP
57 #define HAVE_SCX_DEQ_CORE_SCHED_EXEC
58 #define HAVE_SCX_DEQ_SCHED_CHANGE
59 #define HAVE_SCX_DSP_NONE
60 #define HAVE_SCX_DSP_LOCAL
61 #define HAVE_SCX_DSP_PREV
62 #define HAVE_SCX_DSP_RETRY
63 #define HAVE_SCX_DSQ_FLAG_BUILTIN
64 #define HAVE_SCX_DSQ_FLAG_LOCAL_ON
65 #define HAVE_SCX_DSQ_INVALID
66 #define HAVE_SCX_DSQ_GLOBAL
67 #define HAVE_SCX_DSQ_LOCAL
68 #define HAVE_SCX_DSQ_BYPASS
69 #define HAVE_SCX_DSQ_REJECT
70 #define HAVE_SCX_DSQ_RESCUE
71 #define HAVE_SCX_DSQ_LOCAL_ON
72 #define HAVE_SCX_DSQ_LOCAL_CPU_MASK
73 #define HAVE_SCX_DSQ_ITER_REV
74 #define HAVE___SCX_DSQ_ITER_HAS_SLICE
75 #define HAVE___SCX_DSQ_ITER_HAS_VTIME
76 #define HAVE___SCX_DSQ_ITER_USER_FLAGS
77 #define HAVE___SCX_DSQ_ITER_ALL_FLAGS
78 #define HAVE_SCX_DSQ_LNODE_ITER_CURSOR
79 #define HAVE___SCX_DSQ_LNODE_PRIV_SHIFT
80 #define HAVE_SCX_ENABLING
81 #define HAVE_SCX_ENABLED
82 #define HAVE_SCX_DISABLING
83 #define HAVE_SCX_DISABLED
84 #define HAVE_SCX_ENQ_WAKEUP
85 #define HAVE_SCX_ENQ_HEAD
86 #define HAVE_SCX_ENQ_CPU_SELECTED
87 #define HAVE_SCX_ENQ_PREEMPT
88 #define HAVE_SCX_ENQ_IMMED
89 #define HAVE_SCX_ENQ_RESCUE
90 #define HAVE_SCX_ENQ_REENQ
91 #define HAVE_SCX_ENQ_LAST
92 #define HAVE___SCX_ENQ_INTERNAL_MASK
93 #define HAVE_SCX_ENQ_CLEAR_OPSS
94 #define HAVE_SCX_ENQ_DSQ_PRIQ
95 #define HAVE_SCX_ENQ_NESTED
96 #define HAVE_SCX_ENQ_GDSQ_FALLBACK
97 #define HAVE_SCX_ENQ_IGNORE_CAPS
98 #define HAVE_SCX_ENQ_APPLY_SLICE
99 #define HAVE_SCX_ENQ_SLICE_DFL
100 #define HAVE_SCX_TASK_DSQ_ON_PRIQ
101 #define HAVE_SCX_TASK_QUEUED
102 #define HAVE_SCX_TASK_IN_CUSTODY
103 #define HAVE_SCX_TASK_RESET_RUNNABLE_AT
104 #define HAVE_SCX_TASK_DEQD_FOR_SLEEP
105 #define HAVE_SCX_TASK_SUB_INIT
106 #define HAVE_SCX_TASK_IMMED
107 #define HAVE_SCX_TASK_PROTECTED
108 #define HAVE_SCX_TASK_STATE_SHIFT
109 #define HAVE_SCX_TASK_STATE_BITS
110 #define HAVE_SCX_TASK_STATE_MASK
111 #define HAVE_SCX_TASK_NONE
112 #define HAVE_SCX_TASK_INIT_BEGIN
113 #define HAVE_SCX_TASK_INIT
114 #define HAVE_SCX_TASK_READY
115 #define HAVE_SCX_TASK_ENABLED
116 #define HAVE_SCX_TASK_DEAD
117 #define HAVE_SCX_TASK_REENQ_REASON_SHIFT
118 #define HAVE_SCX_TASK_REENQ_REASON_BITS
119 #define HAVE_SCX_TASK_REENQ_REASON_MASK
120 #define HAVE_SCX_TASK_REENQ_NONE
121 #define HAVE_SCX_TASK_REENQ_KFUNC
122 #define HAVE_SCX_TASK_REENQ_IMMED
123 #define HAVE_SCX_TASK_REENQ_PREEMPTED
124 #define HAVE_SCX_TASK_REENQ_CAP
125 #define HAVE_SCX_TASK_CURSOR
126 #define HAVE_SCX_ECODE_RSN_HOTPLUG
127 #define HAVE_SCX_ECODE_RSN_CGROUP_OFFLINE
128 #define HAVE_SCX_ECODE_ACT_RESTART
129 #define HAVE_SCX_EFLAG_INITIALIZED
130 #define HAVE_SCX_EXIT_NONE
131 #define HAVE_SCX_EXIT_DONE
132 #define HAVE_SCX_EXIT_UNREG
133 #define HAVE_SCX_EXIT_UNREG_BPF
134 #define HAVE_SCX_EXIT_UNREG_KERN
135 #define HAVE_SCX_EXIT_SYSRQ
136 #define HAVE_SCX_EXIT_PARENT
137 #define HAVE_SCX_EXIT_PARENT_KILL
138 #define HAVE_SCX_EXIT_ERROR
139 #define HAVE_SCX_EXIT_ERROR_BPF
140 #define HAVE_SCX_EXIT_ERROR_STALL
141 #define HAVE_SCX_EXIT_ERROR_REENQ
142 #define HAVE_SCX_EXIT_ERROR_RESCUE
143 #define HAVE_SCX_KF_ALLOW_UNLOCKED
144 #define HAVE_SCX_KF_ALLOW_INIT_CIDS
145 #define HAVE_SCX_KF_ALLOW_CPU_RELEASE
146 #define HAVE_SCX_KF_ALLOW_DISPATCH
147 #define HAVE_SCX_KF_ALLOW_ENQUEUE
148 #define HAVE_SCX_KF_ALLOW_SELECT_CPU
149 #define HAVE_SCX_KICK_IDLE
150 #define HAVE_SCX_KICK_PREEMPT
151 #define HAVE_SCX_KICK_WAIT
152 #define HAVE_SCX_OPI_BEGIN
153 #define HAVE_SCX_OPI_NORMAL_BEGIN
154 #define HAVE_SCX_OPI_NORMAL_END
155 #define HAVE_SCX_OPI_CPU_HOTPLUG_BEGIN
156 #define HAVE_SCX_OPI_CPU_HOTPLUG_END
157 #define HAVE_SCX_OPI_END
158 #define HAVE_SCX_OPS_KEEP_BUILTIN_IDLE
159 #define HAVE_SCX_OPS_ENQ_LAST
160 #define HAVE_SCX_OPS_ENQ_EXITING
161 #define HAVE_SCX_OPS_SWITCH_PARTIAL
162 #define HAVE_SCX_OPS_ENQ_MIGRATION_DISABLED
163 #define HAVE_SCX_OPS_ALLOW_QUEUED_WAKEUP
164 #define HAVE_SCX_OPS_BUILTIN_IDLE_PER_NODE
165 #define HAVE_SCX_OPS_ALWAYS_ENQ_IMMED
166 #define HAVE_SCX_OPS_TID_TO_TASK
167 #define HAVE_SCX_OPS_ALL_FLAGS
168 #define HAVE___SCX_OPS_INTERNAL_MASK
169 #define HAVE_SCX_OPS_HAS_CPU_PREEMPT
170 #define HAVE_SCX_OPSS_NONE
171 #define HAVE_SCX_OPSS_QUEUEING
172 #define HAVE_SCX_OPSS_QUEUED
173 #define HAVE_SCX_OPSS_DISPATCHING
174 #define HAVE_SCX_OPSS_QSEQ_SHIFT
175 #define HAVE_SCX_PICK_IDLE_CORE
176 #define HAVE_SCX_PICK_IDLE_IN_NODE
177 #define HAVE_SCX_OPS_NAME_LEN
178 #define HAVE_SCX_SLICE_DFL
179 #define HAVE_SCX_SLICE_BYPASS
180 #define HAVE_SCX_SLICE_INF
181 #define HAVE_SCX_REENQ_ANY
182 #define HAVE_SCX_REENQ_CAP_REVOKE
183 #define HAVE___SCX_REENQ_FILTER_MASK
184 #define HAVE___SCX_REENQ_USER_MASK
185 #define HAVE_SCX_REENQ_TSR_RQ_OPEN
186 #define HAVE_SCX_REENQ_TSR_NOT_FIRST
187 #define HAVE___SCX_REENQ_TSR_MASK
188 #define HAVE_SCX_RQ_ONLINE
189 #define HAVE_SCX_RQ_CAN_STOP_TICK
190 #define HAVE_SCX_RQ_CLK_VALID
191 #define HAVE_SCX_RQ_BAL_CB_PENDING
192 #define HAVE_SCX_RQ_SUB_IDLE_RENOTIFY
193 #define HAVE_SCX_RQ_ROOT_IDLE_RENOTIFY
194 #define HAVE_SCX_RQ_IN_WAKEUP
195 #define HAVE_SCX_RQ_IN_DISPATCH
196 #define HAVE_SCX_SCHED_PCPU_BYPASSING
197 #define HAVE_SCX_SLICE_OOB_DUR_BITS
198 #define HAVE_SCX_SLICE_OOB_ID_BITS
199 #define HAVE_SCX_SLICE_OOB_DUR_MASK
200 #define HAVE_SCX_SLICE_OOB_ID_SHIFT
201 #define HAVE_SCX_SLICE_OOB_ID_MASK
202 #define HAVE_SCX_SLICE_OOB_PENDING
203 #define HAVE_SCX_TG_ONLINE
204 #define HAVE_SCX_TG_INITED
205 #define HAVE_SCX_TG_SUB_INIT
206 #define HAVE_SCX_WAKE_FORK
207 #define HAVE_SCX_WAKE_TTWU
208 #define HAVE_SCX_WAKE_SYNC
209 
210 #endif /* __ENUM_DEFS_AUTOGEN_H__ */
211