[tip:perf/core] tools include uapi: Grab a copy of linux/in.h
From: tip-bot for Arnaldo Carvalho de Melo
Date: Thu Aug 02 2018 - 12:02:36 EST
Commit-ID: a4b2061242ecc024b1ee975e066b6e38db1c6b9e
Gitweb: https://git.kernel.org/tip/a4b2061242ecc024b1ee975e066b6e38db1c6b9e
Author: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
AuthorDate: Thu, 26 Jul 2018 09:26:13 -0300
Committer: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
CommitDate: Tue, 31 Jul 2018 10:52:37 -0300
tools include uapi: Grab a copy of linux/in.h
We'll use it to create tables for the 'protocol' argument to the
socket syscall when the 'family' arg is one of AF_INET or AF_INET6.
Add it to check_headers.sh so that when a new protocol gets added we get
a notification during the build process.
Cc: Adrian Hunter <adrian.hunter@xxxxxxxxx>
Cc: David Ahern <dsahern@xxxxxxxxx>
Cc: Jiri Olsa <jolsa@xxxxxxxxxx>
Cc: Namhyung Kim <namhyung@xxxxxxxxxx>
Cc: Wang Nan <wangnan0@xxxxxxxxxx>
Link: https://lkml.kernel.org/n/tip-2amnveu1ns4emjn70xuavpje@xxxxxxxxxxxxxx
Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
---
{include => tools/include}/uapi/linux/in.h | 0
tools/perf/check-headers.sh | 1 +
2 files changed, 1 insertion(+)
diff --git a/include/uapi/linux/in.h b/tools/include/uapi/linux/in.h
similarity index 100%
copy from include/uapi/linux/in.h
copy to tools/include/uapi/linux/in.h
diff --git a/tools/perf/check-headers.sh b/tools/perf/check-headers.sh
index 814aaf269949..de28466c0186 100755
--- a/tools/perf/check-headers.sh
+++ b/tools/perf/check-headers.sh
@@ -7,6 +7,7 @@ include/uapi/drm/i915_drm.h
include/uapi/linux/fcntl.h
include/uapi/linux/kcmp.h
include/uapi/linux/kvm.h
+include/uapi/linux/in.h
include/uapi/linux/perf_event.h
include/uapi/linux/prctl.h
include/uapi/linux/sched.h