[PATCH 4/5] perf-script-python.txt: Fix wrong code snippets

From: SeongJae Park
Date: Tue May 30 2017 - 07:18:49 EST


This commit fixes wrong code snippets for trace_begin() and trace_end()
function example definition.

Signed-off-by: SeongJae Park <sj38.park@xxxxxxxxx>
---
tools/perf/Documentation/perf-script-python.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/perf/Documentation/perf-script-python.txt b/tools/perf/Documentation/perf-script-python.txt
index 44e51351536f..f723ce41268c 100644
--- a/tools/perf/Documentation/perf-script-python.txt
+++ b/tools/perf/Documentation/perf-script-python.txt
@@ -530,7 +530,7 @@ can implement a set of optional functions:
gives scripts a chance to do setup tasks:

----
-def trace_begin:
+def trace_begin():
pass
----

@@ -539,7 +539,7 @@ def trace_begin:
as display results:

----
-def trace_end:
+def trace_end():
pass
----

--
2.13.0