[tip:perf/core] tools headers uapi: Grab a copy of fadvise.h
From: tip-bot for Arnaldo Carvalho de Melo
Date: Thu Dec 20 2018 - 13:31:28 EST
Commit-ID: f9cdd63e79946d2f635d5c23d76811c2d710aa5c
Gitweb: https://git.kernel.org/tip/f9cdd63e79946d2f635d5c23d76811c2d710aa5c
Author: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
AuthorDate: Tue, 18 Dec 2018 16:15:53 -0300
Committer: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
CommitDate: Tue, 18 Dec 2018 16:17:40 -0300
tools headers uapi: Grab a copy of fadvise.h
Will be used to generate the string table for fadvise64's 'advice'
argument.
Cc: Adrian Hunter <adrian.hunter@xxxxxxxxx>
Cc: Jiri Olsa <jolsa@xxxxxxxxxx>
Cc: Luis ClÃudio GonÃalves <lclaudio@xxxxxxxxxx>
Cc: Namhyung Kim <namhyung@xxxxxxxxxx>
Cc: Wang Nan <wangnan0@xxxxxxxxxx>
Link: https://lkml.kernel.org/n/tip-muswpnft8q9krktv052yrgsc@xxxxxxxxxxxxxx
Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
---
{include => tools/include}/uapi/linux/fadvise.h | 0
tools/perf/check-headers.sh | 1 +
2 files changed, 1 insertion(+)
diff --git a/include/uapi/linux/fadvise.h b/tools/include/uapi/linux/fadvise.h
similarity index 100%
copy from include/uapi/linux/fadvise.h
copy to tools/include/uapi/linux/fadvise.h
diff --git a/tools/perf/check-headers.sh b/tools/perf/check-headers.sh
index 10d97dc632da..8e811ea0cf85 100755
--- a/tools/perf/check-headers.sh
+++ b/tools/perf/check-headers.sh
@@ -4,6 +4,7 @@
HEADERS='
include/uapi/drm/drm.h
include/uapi/drm/i915_drm.h
+include/uapi/linux/fadvise.h
include/uapi/linux/fcntl.h
include/uapi/linux/fs.h
include/uapi/linux/kcmp.h