[<prev] [next>] [day] [month] [year] [list]
Message-ID: <tip-nin41ve2fa63lrfbdr6x57yr@git.kernel.org>
Date: Sun, 2 Apr 2017 12:14:44 -0700
From: tip-bot for Arnaldo Carvalho de Melo <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: namhyung@...nel.org, acme@...hat.com, adrian.hunter@...el.com,
mingo@...nel.org, linux-kernel@...r.kernel.org, dsahern@...il.com,
wangnan0@...wei.com, hpa@...or.com, jolsa@...nel.org,
tglx@...utronix.de
Subject: [tip:perf/core] tools include uapi: Grab copies of stat.h and
fcntl.h
Commit-ID: 67ef28794d7e30f33936d655f2951e8dcae7cd5a
Gitweb: http://git.kernel.org/tip/67ef28794d7e30f33936d655f2951e8dcae7cd5a
Author: Arnaldo Carvalho de Melo <acme@...hat.com>
AuthorDate: Thu, 30 Mar 2017 11:16:59 -0300
Committer: Arnaldo Carvalho de Melo <acme@...hat.com>
CommitDate: Fri, 31 Mar 2017 11:26:03 -0300
tools include uapi: Grab copies of stat.h and fcntl.h
We will need it to build tools/perf/trace/beauty/statx.h.
Cc: Adrian Hunter <adrian.hunter@...el.com>
Cc: David Ahern <dsahern@...il.com>
Cc: Jiri Olsa <jolsa@...nel.org>
Cc: Namhyung Kim <namhyung@...nel.org>
Cc: Wang Nan <wangnan0@...wei.com>
Link: http://lkml.kernel.org/n/tip-nin41ve2fa63lrfbdr6x57yr@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@...hat.com>
---
tools/include/linux/types.h | 1 +
{include => tools/include}/uapi/linux/fcntl.h | 0
{include => tools/include}/uapi/linux/stat.h | 0
tools/perf/MANIFEST | 2 ++
tools/perf/check-headers.sh | 2 ++
5 files changed, 5 insertions(+)
diff --git a/tools/include/linux/types.h b/tools/include/linux/types.h
index c24b3e3..77a28a2 100644
--- a/tools/include/linux/types.h
+++ b/tools/include/linux/types.h
@@ -7,6 +7,7 @@
#define __SANE_USERSPACE_TYPES__ /* For PPC64, to get LL64 types */
#include <asm/types.h>
+#include <asm/posix_types.h>
struct page;
struct kmem_cache;
diff --git a/include/uapi/linux/fcntl.h b/tools/include/uapi/linux/fcntl.h
similarity index 100%
copy from include/uapi/linux/fcntl.h
copy to tools/include/uapi/linux/fcntl.h
diff --git a/include/uapi/linux/stat.h b/tools/include/uapi/linux/stat.h
similarity index 100%
copy from include/uapi/linux/stat.h
copy to tools/include/uapi/linux/stat.h
diff --git a/tools/perf/MANIFEST b/tools/perf/MANIFEST
index 28648c0..89018c7 100644
--- a/tools/perf/MANIFEST
+++ b/tools/perf/MANIFEST
@@ -73,9 +73,11 @@ tools/include/uapi/asm-generic/mman-common.h
tools/include/uapi/asm-generic/mman.h
tools/include/uapi/linux/bpf.h
tools/include/uapi/linux/bpf_common.h
+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/stat.h
tools/include/linux/poison.h
tools/include/linux/rbtree.h
tools/include/linux/rbtree_augmented.h
diff --git a/tools/perf/check-headers.sh b/tools/perf/check-headers.sh
index c747bfd..83fe220 100755
--- a/tools/perf/check-headers.sh
+++ b/tools/perf/check-headers.sh
@@ -1,7 +1,9 @@
#!/bin/sh
HEADERS='
+include/uapi/linux/fcntl.h
include/uapi/linux/perf_event.h
+include/uapi/linux/stat.h
include/linux/hash.h
include/uapi/linux/hw_breakpoint.h
arch/x86/include/asm/disabled-features.h
Powered by blists - more mailing lists