aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@redhat.com>2012-12-19 03:52:21 -0500
committerArnaldo Carvalho de Melo <acme@redhat.com>2013-01-24 14:40:12 -0500
commit09ecbb07a5c9fa31dc72ee8fb1c3fbd1145448dd (patch)
treedb677fca8854046c5c4d050311f069c2e11586f9 /tools/perf
parent876650e6c3209861a8949111140d805b3440951f (diff)
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>
Diffstat (limited to 'tools/perf')
-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
958 958
959$(OUTPUT)tests/python-use.o: tests/python-use.c $(OUTPUT)PERF-CFLAGS 959$(OUTPUT)tests/python-use.o: tests/python-use.c $(OUTPUT)PERF-CFLAGS
960 $(QUIET_CC)$(CC) -o $@ -c $(ALL_CFLAGS) \ 960 $(QUIET_CC)$(CC) -o $@ -c $(ALL_CFLAGS) \
961 -DPYTHONPATH='"$(OUTPUT)/python"' \ 961 -DPYTHONPATH='"$(OUTPUT)python"' \
962 -DPYTHON='"$(PYTHON_WORD)"' \ 962 -DPYTHON='"$(PYTHON_WORD)"' \
963 $< 963 $<
964 964