]> granicus.if.org Git - strace/blob - sched_attr.h
rtnl_neightbl: always decode struct ndt_config and struct ndt_stats
[strace] / sched_attr.h
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
8 #ifndef STRACE_SCHED_ATTR_H
9 # define STRACE_SCHED_ATTR_H
10
11 # include <stdint.h>
12
13 struct sched_attr {
14         uint32_t size;
15         uint32_t sched_policy;
16         uint64_t sched_flags;
17         uint32_t sched_nice;
18         uint32_t sched_priority;
19         uint64_t sched_runtime;
20         uint64_t sched_deadline;
21         uint64_t sched_period;
22 };
23
24 # define SCHED_ATTR_MIN_SIZE    48
25
26 #endif /* !STRACE_SCHED_ATTR_H */