public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [tip:perf/core] perf tests: Fix PYTHONPATH for python-use test tracepoints
@ 2013-01-25 11:11 tip-bot for Jiri Olsa
  0 siblings, 0 replies; only message in thread
From: tip-bot for Jiri Olsa @ 2013-01-25 11:11 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: acme, linux-kernel, hpa, mingo, tglx, jolsa

Commit-ID:  09ecbb07a5c9fa31dc72ee8fb1c3fbd1145448dd
Gitweb:     http://git.kernel.org/tip/09ecbb07a5c9fa31dc72ee8fb1c3fbd1145448dd
Author:     Jiri Olsa <jolsa@redhat.com>
AuthorDate: Wed, 19 Dec 2012 09:52:21 +0100
Committer:  Arnaldo Carvalho de Melo <acme@redhat.com>
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 '/'.

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>
---
 tools/perf/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/perf/Makefile b/tools/perf/Makefile
index 3158f45..1539eb4 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)"' \
 		$<
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-01-25 11:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-25 11:11 [tip:perf/core] perf tests: Fix PYTHONPATH for python-use test tracepoints tip-bot for Jiri Olsa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox