[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sat, 09 Sep 2017 22:47:39 +0100
From: Ben Hutchings <ben@...adent.org.uk>
To: linux-kernel@...r.kernel.org, stable@...r.kernel.org
CC: akpm@...ux-foundation.org,
"Frederic Weisbecker" <fweisbec@...il.com>,
"Peter Zijlstra" <peterz@...radead.org>,
"Alexander Shishkin" <alexander.shishkin@...ux.intel.com>,
"SeongJae Park" <sj38.park@...il.com>,
"Arnaldo Carvalho de Melo" <acme@...hat.com>,
"Tom Zanussi" <tzanussi@...il.com>
Subject: [PATCH 3.2 070/106] perf script python: Fix wrong code snippets
in documentation
3.2.93-rc1 review patch. If anyone has any objections, please let me know.
------------------
From: SeongJae Park <sj38.park@...il.com>
commit 26ddb8722df865aa67fbe459107d2f3f8e5c6829 upstream.
This commit fixes wrong code snippets for trace_begin() and trace_end()
function example definition.
Signed-off-by: SeongJae Park <sj38.park@...il.com>
Cc: Alexander Shishkin <alexander.shishkin@...ux.intel.com>
Cc: Frederic Weisbecker <fweisbec@...il.com>
Cc: Peter Zijlstra <peterz@...radead.org>
Cc: Tom Zanussi <tzanussi@...il.com>
Fixes: cff68e582237 ("perf/scripts: Add perf-trace-python Documentation")
Link: http://lkml.kernel.org/r/20170530111827.21732-5-sj38.park@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@...hat.com>
Signed-off-by: Ben Hutchings <ben@...adent.org.uk>
---
tools/perf/Documentation/perf-script-python.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/tools/perf/Documentation/perf-script-python.txt
+++ b/tools/perf/Documentation/perf-script-python.txt
@@ -534,7 +534,7 @@ can implement a set of optional function
gives scripts a chance to do setup tasks:
----
-def trace_begin:
+def trace_begin():
pass
----
@@ -543,7 +543,7 @@ def trace_begin:
as display results:
----
-def trace_end:
+def trace_end():
pass
----
Powered by blists - more mailing lists