From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752156AbdFHWxl (ORCPT ); Thu, 8 Jun 2017 18:53:41 -0400 Received: from terminus.zytor.com ([65.50.211.136]:36837 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751550AbdFHWxj (ORCPT ); Thu, 8 Jun 2017 18:53:39 -0400 Date: Thu, 8 Jun 2017 15:47:55 -0700 From: tip-bot for SeongJae Park Message-ID: Cc: linux-kernel@vger.kernel.org, mingo@kernel.org, fweisbec@gmail.com, tglx@linutronix.de, hpa@zytor.com, tzanussi@gmail.com, alexander.shishkin@linux.intel.com, peterz@infradead.org, acme@redhat.com, sj38.park@gmail.com Reply-To: alexander.shishkin@linux.intel.com, peterz@infradead.org, sj38.park@gmail.com, acme@redhat.com, mingo@kernel.org, linux-kernel@vger.kernel.org, hpa@zytor.com, fweisbec@gmail.com, tglx@linutronix.de, tzanussi@gmail.com In-Reply-To: <20170530111827.21732-5-sj38.park@gmail.com> References: <20170530111827.21732-5-sj38.park@gmail.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:perf/urgent] perf script python: Fix wrong code snippets in documentation Git-Commit-ID: 26ddb8722df865aa67fbe459107d2f3f8e5c6829 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 26ddb8722df865aa67fbe459107d2f3f8e5c6829 Gitweb: http://git.kernel.org/tip/26ddb8722df865aa67fbe459107d2f3f8e5c6829 Author: SeongJae Park AuthorDate: Tue, 30 May 2017 20:18:26 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 7 Jun 2017 20:27:26 -0300 perf script python: Fix wrong code snippets in documentation This commit fixes wrong code snippets for trace_begin() and trace_end() function example definition. Signed-off-by: SeongJae Park Cc: Alexander Shishkin Cc: Frederic Weisbecker Cc: Peter Zijlstra Cc: Tom Zanussi 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 --- 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 087b87c9..bad6e93 100644 --- a/tools/perf/Documentation/perf-script-python.txt +++ b/tools/perf/Documentation/perf-script-python.txt @@ -532,7 +532,7 @@ can implement a set of optional functions: gives scripts a chance to do setup tasks: ---- -def trace_begin: +def trace_begin(): pass ---- @@ -541,7 +541,7 @@ def trace_begin: as display results: ---- -def trace_end: +def trace_end(): pass ----