aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/python-ext-sources
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2015-07-09 16:27:25 -0300
committerArnaldo Carvalho de Melo <[email protected]>2015-07-09 16:29:56 -0300
commit0aefc3590afcc9ecbe173fc01fccbda0869d2f0a (patch)
treed4fab927d6e0ac7f50f398837317d479d3f66c37 /tools/perf/util/python-ext-sources
parentf3efe3a07e0060dc5d6c41644733e49c7bd50a5b (diff)
tools: Copy lib/hweight.c from the kernel sources
Instead of accessing it directly, as it uses EXPORT_SYMBOL, that has no meaning in tools/perf and because we removed the stubs for it, i.e. we removed the tools/include/linux/export.h file. This fixes the build for the detached tarball sources cases and removes one more source of entanglement with the kernel sources. 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]> Link: http://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/python-ext-sources')
-rw-r--r--tools/perf/util/python-ext-sources2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/python-ext-sources b/tools/perf/util/python-ext-sources
index de05e04b79c8..0766d98c5da5 100644
--- a/tools/perf/util/python-ext-sources
+++ b/tools/perf/util/python-ext-sources
@@ -10,7 +10,7 @@ util/ctype.c
util/evlist.c
util/evsel.c
util/cpumap.c
-../../lib/hweight.c
+../lib/hweight.c
util/thread_map.c
util/util.c
util/xyarray.c