Commit 592e51df authored by SeongJae Park's avatar SeongJae Park Committed by Ben Hutchings

perf script python: Fix wrong code snippets in documentation

commit 26ddb872 upstream.

This commit fixes wrong code snippets for trace_begin() and trace_end()
function example definition.
Signed-off-by: default avatarSeongJae Park <sj38.park@gmail.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Tom Zanussi <tzanussi@gmail.com>
Fixes: cff68e58 ("perf/scripts: Add perf-trace-python Documentation")
Link: http://lkml.kernel.org/r/20170530111827.21732-5-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 40e960d8
......@@ -534,7 +534,7 @@ can implement a set of optional functions:
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
----
......
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