2011-06-23 16:46:10

by Namhyung Kim

[permalink] [raw]
Subject: [PATCH] perf script: Rename old perf-trace to perf-script

Fix the leftovers from commit 133dc4c39c57 ("perf: Rename
'perf trace' to 'perf script'").

Signed-off-by: Namhyung Kim <[email protected]>
---
tools/perf/Documentation/perf-probe.txt | 2 +-
.../util/scripting-engines/trace-event-python.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/perf/Documentation/perf-probe.txt b/tools/perf/Documentation/perf-probe.txt
index 02bafce4b341..41343d693f35 100644
--- a/tools/perf/Documentation/perf-probe.txt
+++ b/tools/perf/Documentation/perf-probe.txt
@@ -183,4 +183,4 @@ Delete all probes on schedule().

SEE ALSO
--------
-linkperf:perf-trace[1], linkperf:perf-record[1]
+linkperf:perf-script[1], linkperf:perf-record[1]
diff --git a/tools/perf/util/scripting-engines/trace-event-python.c b/tools/perf/util/scripting-engines/trace-event-python.c
index 6ccf70e8d8f2..8173636c9817 100644
--- a/tools/perf/util/scripting-engines/trace-event-python.c
+++ b/tools/perf/util/scripting-engines/trace-event-python.c
@@ -465,7 +465,7 @@ static int python_generate_script(const char *outfile)
fprintf(ofp, "# be retrieved using Python functions of the form "
"common_*(context).\n");

- fprintf(ofp, "# See the perf-trace-python Documentation for the list "
+ fprintf(ofp, "# See the perf-script-python Documentation for the list "
"of available functions.\n\n");

fprintf(ofp, "import os\n");
--
1.7.5.2