[tip:perf/core] tools include uapi: Grab copies of drm/{drm,i915_drm}.h

From: tip-bot for Arnaldo Carvalho de Melo
Date: Thu Aug 10 2017 - 12:33:30 EST


Commit-ID: c1737f2b7810cf4cd353f3931d2d23e81b591f90
Gitweb: http://git.kernel.org/tip/c1737f2b7810cf4cd353f3931d2d23e81b591f90
Author: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
AuthorDate: Mon, 31 Jul 2017 16:45:32 -0300
Committer: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
CommitDate: Tue, 1 Aug 2017 09:47:56 -0300

tools include uapi: Grab copies of drm/{drm,i915_drm}.h

We will use it to generate tables for beautifying ioctl's 'cmd' arg.

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: http://lkml.kernel.org/n/tip-bqoq114h917u6ggazn8m1w0t@xxxxxxxxxxxxxx
Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
---
{include => tools/include}/uapi/drm/drm.h | 0
{include => tools/include}/uapi/drm/i915_drm.h | 0
tools/perf/MANIFEST | 2 ++
tools/perf/check-headers.sh | 2 ++
4 files changed, 4 insertions(+)

diff --git a/include/uapi/drm/drm.h b/tools/include/uapi/drm/drm.h
similarity index 100%
copy from include/uapi/drm/drm.h
copy to tools/include/uapi/drm/drm.h
diff --git a/include/uapi/drm/i915_drm.h b/tools/include/uapi/drm/i915_drm.h
similarity index 100%
copy from include/uapi/drm/i915_drm.h
copy to tools/include/uapi/drm/i915_drm.h
diff --git a/tools/perf/MANIFEST b/tools/perf/MANIFEST
index 2ee433c..eb4ccd7 100644
--- a/tools/perf/MANIFEST
+++ b/tools/perf/MANIFEST
@@ -74,6 +74,8 @@ tools/include/uapi/asm-generic/fcntl.h
tools/include/uapi/asm-generic/ioctls.h
tools/include/uapi/asm-generic/mman-common.h
tools/include/uapi/asm-generic/mman.h
+tools/include/uapi/drm/drm.h
+tools/include/uapi/drm/i915_drm.h
tools/include/uapi/linux/bpf.h
tools/include/uapi/linux/bpf_common.h
tools/include/uapi/linux/fcntl.h
diff --git a/tools/perf/check-headers.sh b/tools/perf/check-headers.sh
index 3f0c657..0024525 100755
--- a/tools/perf/check-headers.sh
+++ b/tools/perf/check-headers.sh
@@ -1,6 +1,8 @@
#!/bin/sh

HEADERS='
+include/uapi/drm/drm.h
+include/uapi/drm/i915_drm.h
include/uapi/linux/fcntl.h
include/uapi/linux/perf_event.h
include/uapi/linux/sched.h