Skip to contentSkip to conversation

perf test: fix typo in python test

PATCH Applied WANG Chao 3 participants 3 messages Nov 12, 2014 – Nov 20, 2014 perf events

lore
Share & tools
lore

WANG Chao

author
#0 lore raw

PATCH 1/1 perf test: fix typo in python test

Library loading in python syntax should be 'import perf', not 'use perf'.

---
 tools/perf/tests/builtin-test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/tests/builtin-test.c +1 -1
index 162c978..4b7d9ab 100644
@@ -85,7 +85,7 @@ static struct test {
 		.func = test__hists_link,
 	},
 	{
-		.desc = "Try 'use perf' in python, checking link problems",
+		.desc = "Try 'import perf' in python, checking link problems",
 		.func = test__python_use,
 	},
 	{
Signature · 1 line
1.9.3
maintainer Applied
#1 lore raw

Em Wed, Nov 12, 2014 at 04:27:05PM +0800, WANG Chao escreveu:

Quoted 1 line

Library loading in python syntax should be 'import perf', not 'use perf'.

Thanks, applied.

- Arnaldo

#2 lore raw
In reply to WANG Chao
perf test: fix typo in python test
Commit-ID:  887e73d7f42c6a146b572a0577e9875ccca66f37
Gitweb:     http://git.kernel.org/tip/887e73d7f42c6a146b572a0577e9875ccca66f37
Author:     WANG Chao <[email protected]>
AuthorDate: Wed, 12 Nov 2014 16:27:05 +0800
Committer:  Arnaldo Carvalho de Melo <[email protected]>
CommitDate: Wed, 19 Nov 2014 12:33:47 -0300

perf test: fix typo in python test

Library loading in python syntax should be 'import perf', not 'use perf'.

Cc Adrian Hunter <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Jean Pihet <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Masami Hiramatsu <[email protected]>
Cc Namhyung Kim <[email protected]>
Cc Paul Mackerras <[email protected]>
Cc Peter Zijlstra <[email protected]>
---
 tools/perf/tests/builtin-test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/tests/builtin-test.c +1 -1
index 162c978..4b7d9ab 100644
@@ -85,7 +85,7 @@ static struct test {
 		.func = test__hists_link,
 	},
 	{
-		.desc = "Try 'use perf' in python, checking link problems",
+		.desc = "Try 'import perf' in python, checking link problems",
 		.func = test__python_use,
 	},
 	{