Commit 0444ecba authored by SeongJae Park's avatar SeongJae Park Committed by Ben Hutchings

perf script: Fix outdated comment for perf-trace-python

commit c76132dc upstream.

Script generated by the '--gen-script' option contains an outdated
comment. It mentions a 'perf-trace-python' document while it has been
renamed to 'perf-script-python'. Fix it.
Signed-off-by: default avatarSeongJae Park <sj38.park@gmail.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Fixes: 133dc4c3 ("perf: Rename 'perf trace' to 'perf script'")
Link: http://lkml.kernel.org/r/20170530111827.21732-2-sj38.park@gmail.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
parent 6020f013
...@@ -563,7 +563,7 @@ static int python_generate_script(struct pevent *pevent, const char *outfile) ...@@ -563,7 +563,7 @@ static int python_generate_script(struct pevent *pevent, const char *outfile)
fprintf(ofp, "# be retrieved using Python functions of the form " fprintf(ofp, "# be retrieved using Python functions of the form "
"common_*(context).\n"); "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"); "of available functions.\n\n");
fprintf(ofp, "import os\n"); fprintf(ofp, "import os\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment