aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/check-headers.sh
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2017-07-20 10:46:34 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2017-07-20 11:02:51 -0300
commit450c86c9a3301db5165172bcaced73d036f9c582 (patch)
treea2b0c0e4212c3217767b32ad84d259056b02215e /tools/perf/check-headers.sh
parentperf trace: Allow specifying names to syscall arguments formatters (diff)
downloadlinux-dev-450c86c9a3301db5165172bcaced73d036f9c582.tar.xz
linux-dev-450c86c9a3301db5165172bcaced73d036f9c582.zip
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. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Wang Nan <wangnan0@huawei.com> Link: http://lkml.kernel.org/n/tip-81sln0ng4a2lcxrth14vcov4@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/check-headers.sh')
-rwxr-xr-xtools/perf/check-headers.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/check-headers.sh b/tools/perf/check-headers.sh
index 47abd3325190..9b6295809a3b 100755
--- a/tools/perf/check-headers.sh
+++ b/tools/perf/check-headers.sh
@@ -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