summaryrefslogtreecommitdiff
path: root/tools/include/uapi/linux/sched.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2018-02-06 00:25:47 +0300
committerIngo Molnar <mingo@kernel.org>2018-02-06 00:25:47 +0300
commit59410f5ac70a0949a6f06ba43eecb8f99be31291 (patch)
tree332d7f87f504741fbb3c6e06b7b2bfa820000aff /tools/include/uapi/linux/sched.h
parent72906f38934a49faf4d2d38ea9ae32adcf7d5d0c (diff)
parent2fe2230d4183d2c311bbb7b426491ac486216a16 (diff)
downloadlinux-59410f5ac70a0949a6f06ba43eecb8f99be31291.tar.xz
Merge tag 'perf-urgent-for-mingo-4.16-20180205' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent
Pull perf/urgent fixes from Arnaldo Carvalho de Melo: - Fix 'period' and 'freq' handling for 'perf record', also related: add Add PERF_SAMPLE_PERIOD into PEBS_FREERUNNING_FLAGS in the x86 perf kernel driver (Jiri Olsa) - Fix 'perf trace -i perf.data' callgraph handling (Ravi Bangoria) - Synchronize tooling headers for asound, s390 and powerpc KVM, sched and x86 features (Arnaldo Carvalho de Melo) Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/include/uapi/linux/sched.h')
-rw-r--r--tools/include/uapi/linux/sched.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/include/uapi/linux/sched.h b/tools/include/uapi/linux/sched.h
index 30a9e51bbb1e..22627f80063e 100644
--- a/tools/include/uapi/linux/sched.h
+++ b/tools/include/uapi/linux/sched.h
@@ -49,5 +49,10 @@
*/
#define SCHED_FLAG_RESET_ON_FORK 0x01
#define SCHED_FLAG_RECLAIM 0x02
+#define SCHED_FLAG_DL_OVERRUN 0x04
+
+#define SCHED_FLAG_ALL (SCHED_FLAG_RESET_ON_FORK | \
+ SCHED_FLAG_RECLAIM | \
+ SCHED_FLAG_DL_OVERRUN)
#endif /* _UAPI_LINUX_SCHED_H */