Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1653130 > unrolled thread

[PATCH 1/5] perf script: Fix outdated comment for perf-trace-python

Started bySeongJae Park <sj38.park@gmail.com>
First post2017-05-30 13:20 +0200
Last post2017-05-30 13:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 1/5] perf script: Fix outdated comment for perf-trace-python SeongJae Park <sj38.park@gmail.com> - 2017-05-30 13:20 +0200

#1653130 — [PATCH 1/5] perf script: Fix outdated comment for perf-trace-python

FromSeongJae Park <sj38.park@gmail.com>
Date2017-05-30 13:20 +0200
Subject[PATCH 1/5] perf script: Fix outdated comment for perf-trace-python
Message-ID<tMNlU-6D9-31@gated-at.bofh.it>
Script that generated by '--gen-script' option contains an outdated
comment.  It mentions about 'perf-trace-python' document while it has
renamed to 'perf-script-python'.  This commit fixes the outdated
comment.

Signed-off-by: SeongJae Park <sj38.park@gmail.com>
Fixes: 133dc4c39c57 ("perf: Rename 'perf trace' to 'perf script'")
---
 tools/perf/util/scripting-engines/trace-event-python.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/perf/util/scripting-engines/trace-event-python.c b/tools/perf/util/scripting-engines/trace-event-python.c
index 9d92af7d0718..40de3cb40d21 100644
--- a/tools/perf/util/scripting-engines/trace-event-python.c
+++ b/tools/perf/util/scripting-engines/trace-event-python.c
@@ -1219,7 +1219,7 @@ static int python_generate_script(struct pevent *pevent, 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");
-- 
2.13.0

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web