1 #ifndef STRACE_SCHED_ATTR_H 2 #define STRACE_SCHED_ATTR_H 3 4 # include <stdint.h> 5 6 struct sched_attr { 7 uint32_t size; 8 uint32_t sched_policy; 9 uint64_t sched_flags; 10 uint32_t sched_nice; 11 uint32_t sched_priority; 12 uint64_t sched_runtime; 13 uint64_t sched_deadline; 14 uint64_t sched_period; 15 }; 16 17 # define SCHED_ATTR_MIN_SIZE 48 18 19 #endif /* !STRACE_SCHED_ATTR_H */ 20