Skip to contentSkip to conversation

perf tests: Fix PYTHONPATH for python-use test tracepoints

tip:perf/core tip-bot for Jiri Olsa 1 participant 1 message Jan 25, 2013 perf events

lore
Share & tools
lore
#0 lore raw
Commit-ID:  09ecbb07a5c9fa31dc72ee8fb1c3fbd1145448dd
Gitweb:     http://git.kernel.org/tip/09ecbb07a5c9fa31dc72ee8fb1c3fbd1145448dd
Author:     Jiri Olsa <[email protected]>
AuthorDate: Wed, 19 Dec 2012 09:52:21 +0100
Committer:  Arnaldo Carvalho de Melo <[email protected]>
CommitDate: Thu, 24 Jan 2013 16:40:12 -0300

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 '/'.

---
 tools/perf/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/Makefile +1 -1
index 3158f45..1539eb4 100644
@@ -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)"' \
 		$<