211 lines
6.6 KiB
C
211 lines
6.6 KiB
C
/*
|
|
* WARNING: This file is autogenerated from gen_enum_defs.py [1].
|
|
*
|
|
* [1] https://github.com/sched-ext/scx/blob/main/scripts/gen_enum_defs.py
|
|
*/
|
|
|
|
#ifndef __ENUM_DEFS_AUTOGEN_H__
|
|
#define __ENUM_DEFS_AUTOGEN_H__
|
|
|
|
#define HAVE_SCX_ARENA_MIN_ORDER
|
|
#define HAVE_SCX_ARENA_GROW_PAGES
|
|
#define HAVE___SCX_CAP_ENQ_IMMED
|
|
#define HAVE___SCX_CAP_ENQ
|
|
#define HAVE___SCX_CAP_PREEMPT
|
|
#define HAVE___SCX_CAP_PERF
|
|
#define HAVE___SCX_NR_CAPS
|
|
#define HAVE___SCX_CAP_ALL
|
|
#define HAVE_SCX_CAP_ENQ_IMMED
|
|
#define HAVE_SCX_CAP_ENQ
|
|
#define HAVE_SCX_CAP_PREEMPT
|
|
#define HAVE_SCX_CAP_PERF
|
|
#define HAVE_SCX_CAP_BASE
|
|
#define HAVE_SCX_CAPS_REENQ_ON_LOSS
|
|
#define HAVE_SCX_CID_SHARD_SIZE_DFL
|
|
#define HAVE_SCX_CID_SHARD_MAX_CPUS
|
|
#define HAVE_SCX_DSP_DFL_MAX_BATCH
|
|
#define HAVE_SCX_DSP_MAX_LOOPS
|
|
#define HAVE_SCX_WATCHDOG_MAX_TIMEOUT
|
|
#define HAVE_SCX_RESCUE_DFL_BW_PPT
|
|
#define HAVE_SCX_RESCUE_MAX_BW_PPT
|
|
#define HAVE_SCX_RESCUE_DISABLE
|
|
#define HAVE_SCX_RESCUE_DFL_QUANTUM_US
|
|
#define HAVE_SCX_RESCUE_MIN_QUANTUM_US
|
|
#define HAVE_SCX_RESCUE_MAX_QUANTUM_US
|
|
#define HAVE_SCX_RESCUE_MIN_SLICE_US
|
|
#define HAVE_SCX_RESCUE_OVERLOAD_MULT
|
|
#define HAVE_SCX_RESCUE_MIN_OVERLOAD_MS
|
|
#define HAVE_SCX_RESCUE_MAX_OVERLOAD_MS
|
|
#define HAVE_SCX_TID_CHUNK
|
|
#define HAVE_SCX_EXIT_BT_LEN
|
|
#define HAVE_SCX_EXIT_MSG_LEN
|
|
#define HAVE_SCX_EXIT_DUMP_DFL_LEN
|
|
#define HAVE_SCX_CPUPERF_ONE
|
|
#define HAVE_SCX_TASK_ITER_BATCH
|
|
#define HAVE_SCX_BYPASS_HOST_NTH
|
|
#define HAVE_SCX_BYPASS_LB_DFL_INTV_US
|
|
#define HAVE_SCX_BYPASS_LB_DONOR_PCT
|
|
#define HAVE_SCX_BYPASS_LB_MIN_DELTA_DIV
|
|
#define HAVE_SCX_BYPASS_LB_BATCH
|
|
#define HAVE_SCX_REENQ_MAX_REPEAT
|
|
#define HAVE_SCX_SUB_MAX_DEPTH
|
|
#define HAVE_SCX_CPU_PREEMPT_RT
|
|
#define HAVE_SCX_CPU_PREEMPT_DL
|
|
#define HAVE_SCX_CPU_PREEMPT_STOP
|
|
#define HAVE_SCX_CPU_PREEMPT_UNKNOWN
|
|
#define HAVE_SCX_DEQ_SLEEP
|
|
#define HAVE_SCX_DEQ_CORE_SCHED_EXEC
|
|
#define HAVE_SCX_DEQ_SCHED_CHANGE
|
|
#define HAVE_SCX_DSP_NONE
|
|
#define HAVE_SCX_DSP_LOCAL
|
|
#define HAVE_SCX_DSP_PREV
|
|
#define HAVE_SCX_DSP_RETRY
|
|
#define HAVE_SCX_DSQ_FLAG_BUILTIN
|
|
#define HAVE_SCX_DSQ_FLAG_LOCAL_ON
|
|
#define HAVE_SCX_DSQ_INVALID
|
|
#define HAVE_SCX_DSQ_GLOBAL
|
|
#define HAVE_SCX_DSQ_LOCAL
|
|
#define HAVE_SCX_DSQ_BYPASS
|
|
#define HAVE_SCX_DSQ_REJECT
|
|
#define HAVE_SCX_DSQ_RESCUE
|
|
#define HAVE_SCX_DSQ_LOCAL_ON
|
|
#define HAVE_SCX_DSQ_LOCAL_CPU_MASK
|
|
#define HAVE_SCX_DSQ_ITER_REV
|
|
#define HAVE___SCX_DSQ_ITER_HAS_SLICE
|
|
#define HAVE___SCX_DSQ_ITER_HAS_VTIME
|
|
#define HAVE___SCX_DSQ_ITER_USER_FLAGS
|
|
#define HAVE___SCX_DSQ_ITER_ALL_FLAGS
|
|
#define HAVE_SCX_DSQ_LNODE_ITER_CURSOR
|
|
#define HAVE___SCX_DSQ_LNODE_PRIV_SHIFT
|
|
#define HAVE_SCX_ENABLING
|
|
#define HAVE_SCX_ENABLED
|
|
#define HAVE_SCX_DISABLING
|
|
#define HAVE_SCX_DISABLED
|
|
#define HAVE_SCX_ENQ_WAKEUP
|
|
#define HAVE_SCX_ENQ_HEAD
|
|
#define HAVE_SCX_ENQ_CPU_SELECTED
|
|
#define HAVE_SCX_ENQ_PREEMPT
|
|
#define HAVE_SCX_ENQ_IMMED
|
|
#define HAVE_SCX_ENQ_RESCUE
|
|
#define HAVE_SCX_ENQ_REENQ
|
|
#define HAVE_SCX_ENQ_LAST
|
|
#define HAVE___SCX_ENQ_INTERNAL_MASK
|
|
#define HAVE_SCX_ENQ_CLEAR_OPSS
|
|
#define HAVE_SCX_ENQ_DSQ_PRIQ
|
|
#define HAVE_SCX_ENQ_NESTED
|
|
#define HAVE_SCX_ENQ_GDSQ_FALLBACK
|
|
#define HAVE_SCX_ENQ_IGNORE_CAPS
|
|
#define HAVE_SCX_ENQ_APPLY_SLICE
|
|
#define HAVE_SCX_ENQ_SLICE_DFL
|
|
#define HAVE_SCX_TASK_DSQ_ON_PRIQ
|
|
#define HAVE_SCX_TASK_QUEUED
|
|
#define HAVE_SCX_TASK_IN_CUSTODY
|
|
#define HAVE_SCX_TASK_RESET_RUNNABLE_AT
|
|
#define HAVE_SCX_TASK_DEQD_FOR_SLEEP
|
|
#define HAVE_SCX_TASK_SUB_INIT
|
|
#define HAVE_SCX_TASK_IMMED
|
|
#define HAVE_SCX_TASK_PROTECTED
|
|
#define HAVE_SCX_TASK_STATE_SHIFT
|
|
#define HAVE_SCX_TASK_STATE_BITS
|
|
#define HAVE_SCX_TASK_STATE_MASK
|
|
#define HAVE_SCX_TASK_NONE
|
|
#define HAVE_SCX_TASK_INIT_BEGIN
|
|
#define HAVE_SCX_TASK_INIT
|
|
#define HAVE_SCX_TASK_READY
|
|
#define HAVE_SCX_TASK_ENABLED
|
|
#define HAVE_SCX_TASK_DEAD
|
|
#define HAVE_SCX_TASK_REENQ_REASON_SHIFT
|
|
#define HAVE_SCX_TASK_REENQ_REASON_BITS
|
|
#define HAVE_SCX_TASK_REENQ_REASON_MASK
|
|
#define HAVE_SCX_TASK_REENQ_NONE
|
|
#define HAVE_SCX_TASK_REENQ_KFUNC
|
|
#define HAVE_SCX_TASK_REENQ_IMMED
|
|
#define HAVE_SCX_TASK_REENQ_PREEMPTED
|
|
#define HAVE_SCX_TASK_REENQ_CAP
|
|
#define HAVE_SCX_TASK_CURSOR
|
|
#define HAVE_SCX_ECODE_RSN_HOTPLUG
|
|
#define HAVE_SCX_ECODE_RSN_CGROUP_OFFLINE
|
|
#define HAVE_SCX_ECODE_ACT_RESTART
|
|
#define HAVE_SCX_EFLAG_INITIALIZED
|
|
#define HAVE_SCX_EXIT_NONE
|
|
#define HAVE_SCX_EXIT_DONE
|
|
#define HAVE_SCX_EXIT_UNREG
|
|
#define HAVE_SCX_EXIT_UNREG_BPF
|
|
#define HAVE_SCX_EXIT_UNREG_KERN
|
|
#define HAVE_SCX_EXIT_SYSRQ
|
|
#define HAVE_SCX_EXIT_PARENT
|
|
#define HAVE_SCX_EXIT_PARENT_KILL
|
|
#define HAVE_SCX_EXIT_ERROR
|
|
#define HAVE_SCX_EXIT_ERROR_BPF
|
|
#define HAVE_SCX_EXIT_ERROR_STALL
|
|
#define HAVE_SCX_EXIT_ERROR_REENQ
|
|
#define HAVE_SCX_EXIT_ERROR_RESCUE
|
|
#define HAVE_SCX_KF_ALLOW_UNLOCKED
|
|
#define HAVE_SCX_KF_ALLOW_INIT_CIDS
|
|
#define HAVE_SCX_KF_ALLOW_CPU_RELEASE
|
|
#define HAVE_SCX_KF_ALLOW_DISPATCH
|
|
#define HAVE_SCX_KF_ALLOW_ENQUEUE
|
|
#define HAVE_SCX_KF_ALLOW_SELECT_CPU
|
|
#define HAVE_SCX_KICK_IDLE
|
|
#define HAVE_SCX_KICK_PREEMPT
|
|
#define HAVE_SCX_KICK_WAIT
|
|
#define HAVE_SCX_OPI_BEGIN
|
|
#define HAVE_SCX_OPI_NORMAL_BEGIN
|
|
#define HAVE_SCX_OPI_NORMAL_END
|
|
#define HAVE_SCX_OPI_CPU_HOTPLUG_BEGIN
|
|
#define HAVE_SCX_OPI_CPU_HOTPLUG_END
|
|
#define HAVE_SCX_OPI_END
|
|
#define HAVE_SCX_OPS_KEEP_BUILTIN_IDLE
|
|
#define HAVE_SCX_OPS_ENQ_LAST
|
|
#define HAVE_SCX_OPS_ENQ_EXITING
|
|
#define HAVE_SCX_OPS_SWITCH_PARTIAL
|
|
#define HAVE_SCX_OPS_ENQ_MIGRATION_DISABLED
|
|
#define HAVE_SCX_OPS_ALLOW_QUEUED_WAKEUP
|
|
#define HAVE_SCX_OPS_BUILTIN_IDLE_PER_NODE
|
|
#define HAVE_SCX_OPS_ALWAYS_ENQ_IMMED
|
|
#define HAVE_SCX_OPS_TID_TO_TASK
|
|
#define HAVE_SCX_OPS_ALL_FLAGS
|
|
#define HAVE___SCX_OPS_INTERNAL_MASK
|
|
#define HAVE_SCX_OPS_HAS_CPU_PREEMPT
|
|
#define HAVE_SCX_OPSS_NONE
|
|
#define HAVE_SCX_OPSS_QUEUEING
|
|
#define HAVE_SCX_OPSS_QUEUED
|
|
#define HAVE_SCX_OPSS_DISPATCHING
|
|
#define HAVE_SCX_OPSS_QSEQ_SHIFT
|
|
#define HAVE_SCX_PICK_IDLE_CORE
|
|
#define HAVE_SCX_PICK_IDLE_IN_NODE
|
|
#define HAVE_SCX_OPS_NAME_LEN
|
|
#define HAVE_SCX_SLICE_DFL
|
|
#define HAVE_SCX_SLICE_BYPASS
|
|
#define HAVE_SCX_SLICE_INF
|
|
#define HAVE_SCX_REENQ_ANY
|
|
#define HAVE_SCX_REENQ_CAP_REVOKE
|
|
#define HAVE___SCX_REENQ_FILTER_MASK
|
|
#define HAVE___SCX_REENQ_USER_MASK
|
|
#define HAVE_SCX_REENQ_TSR_RQ_OPEN
|
|
#define HAVE_SCX_REENQ_TSR_NOT_FIRST
|
|
#define HAVE___SCX_REENQ_TSR_MASK
|
|
#define HAVE_SCX_RQ_ONLINE
|
|
#define HAVE_SCX_RQ_CAN_STOP_TICK
|
|
#define HAVE_SCX_RQ_CLK_VALID
|
|
#define HAVE_SCX_RQ_BAL_CB_PENDING
|
|
#define HAVE_SCX_RQ_SUB_IDLE_RENOTIFY
|
|
#define HAVE_SCX_RQ_ROOT_IDLE_RENOTIFY
|
|
#define HAVE_SCX_RQ_IN_WAKEUP
|
|
#define HAVE_SCX_RQ_IN_DISPATCH
|
|
#define HAVE_SCX_SCHED_PCPU_BYPASSING
|
|
#define HAVE_SCX_SLICE_OOB_DUR_BITS
|
|
#define HAVE_SCX_SLICE_OOB_ID_BITS
|
|
#define HAVE_SCX_SLICE_OOB_DUR_MASK
|
|
#define HAVE_SCX_SLICE_OOB_ID_SHIFT
|
|
#define HAVE_SCX_SLICE_OOB_ID_MASK
|
|
#define HAVE_SCX_SLICE_OOB_PENDING
|
|
#define HAVE_SCX_TG_ONLINE
|
|
#define HAVE_SCX_TG_INITED
|
|
#define HAVE_SCX_TG_SUB_INIT
|
|
#define HAVE_SCX_WAKE_FORK
|
|
#define HAVE_SCX_WAKE_TTWU
|
|
#define HAVE_SCX_WAKE_SYNC
|
|
|
|
#endif /* __ENUM_DEFS_AUTOGEN_H__ */
|