From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757837Ab0ENH1L (ORCPT ); Fri, 14 May 2010 03:27:11 -0400 Received: from hera.kernel.org ([140.211.167.34]:43686 "EHLO hera.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757567Ab0ENH1G (ORCPT ); Fri, 14 May 2010 03:27:06 -0400 Date: Fri, 14 May 2010 07:26:25 GMT From: tip-bot for Kirill Smelkov Cc: acme@redhat.com, linux-kernel@vger.kernel.org, kirr@mns.spb.ru, hpa@zytor.com, mingo@redhat.com, tzanussi@gmail.com, tglx@linutronix.de Reply-To: mingo@redhat.com, hpa@zytor.com, kirr@mns.spb.ru, linux-kernel@vger.kernel.org, acme@redhat.com, tzanussi@gmail.com, tglx@linutronix.de In-Reply-To: <1273747165-17242-1-git-send-email-kirr@mns.spb.ru> References: <1273747165-17242-1-git-send-email-kirr@mns.spb.ru> To: linux-tip-commits@vger.kernel.org Subject: [tip:perf/core] perf trace scripts: Fix typos in perf-trace-python.txt Message-ID: Git-Commit-ID: 5d2be7cb198a0a6bc6088d3806fb7261b184ad89 X-Mailer: tip-git-log-daemon MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (hera.kernel.org [127.0.0.1]); Fri, 14 May 2010 07:26:25 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 5d2be7cb198a0a6bc6088d3806fb7261b184ad89 Gitweb: http://git.kernel.org/tip/5d2be7cb198a0a6bc6088d3806fb7261b184ad89 Author: Kirill Smelkov AuthorDate: Thu, 13 May 2010 14:39:25 +0400 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 13 May 2010 17:10:40 -0300 perf trace scripts: Fix typos in perf-trace-python.txt option option -> option special special -> special Signed-off-by: Kirill Smelkov Cc: Tom Zanussi LKML-Reference: <1273747165-17242-1-git-send-email-kirr@mns.spb.ru> Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/Documentation/perf-trace-python.txt | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/perf/Documentation/perf-trace-python.txt b/tools/perf/Documentation/perf-trace-python.txt index 864aac2..693be80 100644 --- a/tools/perf/Documentation/perf-trace-python.txt +++ b/tools/perf/Documentation/perf-trace-python.txt @@ -182,7 +182,7 @@ mean either that the record step recorded event types that it wasn't really interested in, or the script was run against a trace file that doesn't correspond to the script. -The script generated by -g option option simply prints a line for each +The script generated by -g option simply prints a line for each event found in the trace stream i.e. it basically just dumps the event and its parameter values to stdout. The print_header() function is simply a utility function used for that purpose. Let's rename the @@ -582,7 +582,7 @@ files: flag_str(event_name, field_name, field_value) - returns the string represention corresponding to field_value for the flag field field_name of event event_name symbol_str(event_name, field_name, field_value) - returns the string represention corresponding to field_value for the symbolic field field_name of event event_name -The *autodict* function returns a special special kind of Python +The *autodict* function returns a special kind of Python dictionary that implements Perl's 'autovivifying' hashes in Python i.e. with autovivifying hashes, you can assign nested hash values without having to go to the trouble of creating intermediate levels if