Skip to contentSkip to conversation

perf tools: Fix the detached tarball wrt rbtree copy

tip:perf/urgent tip-bot for Arnaldo Carvalho de Melo 1 participant 1 message Jul 10, 2015 perf events

lore
Share & tools
lore
#0 lore raw
Commit-ID:  f3efe3a07e0060dc5d6c41644733e49c7bd50a5b
Gitweb:     http://git.kernel.org/tip/f3efe3a07e0060dc5d6c41644733e49c7bd50a5b
Author:     Arnaldo Carvalho de Melo <[email protected]>
AuthorDate: Thu, 9 Jul 2015 16:23:57 -0300
Committer:  Arnaldo Carvalho de Melo <[email protected]>
CommitDate: Thu, 9 Jul 2015 16:23:57 -0300

perf tools: Fix the detached tarball wrt rbtree copy

The python binding build process was still looking at the kernel rbtree.c file, so, when doing a in-tree build it would work, but when creating a tarball using tools/perf/MANIFEST as the contents list and then trying to build the resulting detached sources, it failed.

Fix it by removing one level of indirection from rbtree.c in the tools/perf/util/python-ext-sources file.

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]>
---
 tools/perf/util/python-ext-sources | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/util/python-ext-sources +1 -1
index e23ded4..de05e04 100644
@@ -19,5 +19,5 @@ util/rblist.c
 util/stat.c
 util/strlist.c
 util/trace-event.c
-../../lib/rbtree.c
+../lib/rbtree.c
 util/string.c