From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751501AbdE3LSr (ORCPT ); Tue, 30 May 2017 07:18:47 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:36408 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751455AbdE3LSp (ORCPT ); Tue, 30 May 2017 07:18:45 -0400 From: SeongJae Park To: peterz@infradead.org, mingo@redhat.com, acme@kernel.org, alexander.shishkin@linux.intel.com Cc: linux-kernel@vger.kernel.org, SeongJae Park Subject: [PATCH 4/5] perf-script-python.txt: Fix wrong code snippets Date: Tue, 30 May 2017 20:18:26 +0900 Message-Id: <20170530111827.21732-5-sj38.park@gmail.com> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170530111827.21732-1-sj38.park@gmail.com> References: <20170530111827.21732-1-sj38.park@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This commit fixes wrong code snippets for trace_begin() and trace_end() function example definition. Signed-off-by: SeongJae Park --- 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