Skip to contentSkip to conversation

tools include uapi: Grab a copy of linux/sched.h

tip:perf/core tip-bot for Arnaldo Carvalho de Melo 1 participant 1 message Jul 26, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw
Commit-ID:  450c86c9a3301db5165172bcaced73d036f9c582
Gitweb:     http://git.kernel.org/tip/450c86c9a3301db5165172bcaced73d036f9c582
Author:     Arnaldo Carvalho de Melo <[email protected]>
AuthorDate: Thu, 20 Jul 2017 10:46:34 -0300
Committer:  Arnaldo Carvalho de Melo <[email protected]>
CommitDate: Thu, 20 Jul 2017 11:02:51 -0300

tools include uapi: Grab a copy of linux/sched.h

So that we make sure we have recent enough defines for things such as 'perf trace' system call argument beautifiers.

For instance, the 'clone' syscall argument 'flag' needs to use CLONE_NEWCGROUP, and that is not available in RHEL7.

---
 {include => tools/include}/uapi/linux/sched.h | 0
 tools/perf/MANIFEST                           | 1 +
 tools/perf/check-headers.sh                   | 1 +
 3 files changed, 2 insertions(+)
tools/include/uapi/linux/sched.h renamed from include/uapi/linux/sched.h +0 -0
similarity index 100%
copy from include/uapi/linux/sched.h
copy to tools/include/uapi/linux/sched.h
tools/perf/MANIFEST +1 -0
index a29da46..9f2267b 100644
@@ -78,6 +78,7 @@ tools/include/uapi/linux/fcntl.h
 tools/include/uapi/linux/hw_breakpoint.h
 tools/include/uapi/linux/mman.h
 tools/include/uapi/linux/perf_event.h
+tools/include/uapi/linux/sched.h
 tools/include/uapi/linux/stat.h
 tools/include/linux/poison.h
 tools/include/linux/rbtree.h
tools/perf/check-headers.sh +1 -0
index 47abd33..9b62958 100755
@@ -3,6 +3,7 @@
 HEADERS='
 include/uapi/linux/fcntl.h
 include/uapi/linux/perf_event.h
+include/uapi/linux/sched.h
 include/uapi/linux/stat.h
 include/linux/hash.h
 include/uapi/linux/hw_breakpoint.h