perf tools: Copy rbtree.h from the kernel
tip-bot for Arnaldo Carvalho de Melo
merge botCommit-ID: 4407f967441aa1adfc11f739e8e9ec0f38fa839f Gitweb: http://git.kernel.org/tip/4407f967441aa1adfc11f739e8e9ec0f38fa839f Author: Arnaldo Carvalho de Melo <[email protected]> AuthorDate: Sun, 5 Jul 2015 14:17:04 -0300 Committer: Arnaldo Carvalho de Melo <[email protected]> CommitDate: Sun, 5 Jul 2015 15:05:08 -0300
perf tools: Copy rbtree.h from the kernel
We were using the include/linux/rbtree.h directly from the kernel, which broke the build as soon as it started using rcupdate.h, to avoid dragging the rcu header files into tools/, for which there is no use so far, grab a copy of rbtree.h.
This is the minimal fix, later patches will copy as well lib/rbtree.c and move rbtree.h into tools/include/, etc.
Cc Adrian Hunter <[email protected]>
Cc Borislav Petkov <[email protected]>
Cc David Ahern <[email protected]>
Cc Frederic Weisbecker <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Namhyung Kim <[email protected]>
Cc Stephane Eranian <[email protected]>
Signed-off-by Arnaldo Carvalho de Melo <[email protected]>
--- tools/perf/MANIFEST | 1 - tools/perf/util/include/linux/rbtree.h | 92 +++++++++++++++++++++++++++++++++- 2 files changed, 90 insertions(+), 3 deletions(-)
tools/perf/MANIFEST +0 -1
@@ -51,7 +51,6 @@ include/asm-generic/bitops/fls64.h include/asm-generic/bitops/__fls.h include/asm-generic/bitops/fls.h include/linux/perf_event.h -include/linux/rbtree.h include/linux/list.h include/linux/hash.h include/linux/stringify.h
tools/perf/util/include/linux/rbtree.h +90 -2
97 lines not on this page · raw message