perf tools: Copy rbtree.h from the kernel
authorArnaldo Carvalho de Melo <acme@redhat.com>
Sun, 5 Jul 2015 17:17:04 +0000 (14:17 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sun, 5 Jul 2015 18:05:08 +0000 (15:05 -0300)
commit4407f967441aa1adfc11f739e8e9ec0f38fa839f
treea7e986f76fa880ecec05d690ae5ddcbadcf42731
parent728abda6a6654ee7f4e903dc921c6307065e1644
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 <adrian.hunter@intel.com>
Cc: Borislav Petkov <bp@suse.de>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-dfmuj0j63w4by7vhlh4hhn74@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/MANIFEST
tools/perf/util/include/linux/rbtree.h