Mirror of strace – the linux syscall tracer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

sched_attr.h 500B

1234567891011121314151617181920212223242526
  1. /*
  2. * Copyright (c) 2017-2018 Dmitry V. Levin <ldv@altlinux.org>
  3. * All rights reserved.
  4. *
  5. * SPDX-License-Identifier: LGPL-2.1-or-later
  6. */
  7. #ifndef STRACE_SCHED_ATTR_H
  8. # define STRACE_SCHED_ATTR_H
  9. # include <stdint.h>
  10. struct sched_attr {
  11. uint32_t size;
  12. uint32_t sched_policy;
  13. uint64_t sched_flags;
  14. uint32_t sched_nice;
  15. uint32_t sched_priority;
  16. uint64_t sched_runtime;
  17. uint64_t sched_deadline;
  18. uint64_t sched_period;
  19. };
  20. # define SCHED_ATTR_MIN_SIZE 48
  21. #endif /* !STRACE_SCHED_ATTR_H */