summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiri Olsa2012-12-19 09:52:21 +0100
committerArnaldo Carvalho de Melo2013-01-24 20:40:12 +0100
commit09ecbb07a5c9fa31dc72ee8fb1c3fbd1145448dd (patch)
treedb677fca8854046c5c4d050311f069c2e11586f9
parentperf machine: Introduce struct machines (diff)
downloadkernel-qcow2-linux-09ecbb07a5c9fa31dc72ee8fb1c3fbd1145448dd.tar.gz
kernel-qcow2-linux-09ecbb07a5c9fa31dc72ee8fb1c3fbd1145448dd.tar.xz
kernel-qcow2-linux-09ecbb07a5c9fa31dc72ee8fb1c3fbd1145448dd.zip
perf tests: Fix PYTHONPATH for python-use test tracepoints
If there's not OUTPUT variable defined the PYTHONPATH ends up with /python. We need to remove the extra '/'. Signed-off-by: Jiri Olsa <jolsa@redhat.com> Link: http://lkml.kernel.org/n/tip-h1hzfyfcdxjnuq9fin2cjwlr@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-rw-r--r--tools/perf/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/Makefile b/tools/perf/Makefile
index 3158f457b6ae..1539eb4d97a0 100644
--- a/tools/perf/Makefile
+++ b/tools/perf/Makefile
@@ -958,7 +958,7 @@ $(OUTPUT)tests/attr.o: tests/attr.c $(OUTPUT)PERF-CFLAGS
$(OUTPUT)tests/python-use.o: tests/python-use.c $(OUTPUT)PERF-CFLAGS
$(QUIET_CC)$(CC) -o $@ -c $(ALL_CFLAGS) \
- -DPYTHONPATH='"$(OUTPUT)/python"' \
+ -DPYTHONPATH='"$(OUTPUT)python"' \
-DPYTHON='"$(PYTHON_WORD)"' \
$<