From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754444AbbEOGnY (ORCPT ); Fri, 15 May 2015 02:43:24 -0400 Received: from terminus.zytor.com ([198.137.202.10]:58130 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753856AbbEOGnU (ORCPT ); Fri, 15 May 2015 02:43:20 -0400 Date: Thu, 14 May 2015 23:43:01 -0700 From: tip-bot for Namhyung Kim Message-ID: Cc: acme@redhat.com, hpa@zytor.com, tglx@linutronix.de, a.p.zijlstra@chello.nl, dsahern@gmail.com, linux-kernel@vger.kernel.org, jolsa@redhat.com, mingo@kernel.org, namhyung@kernel.org Reply-To: acme@redhat.com, hpa@zytor.com, tglx@linutronix.de, a.p.zijlstra@chello.nl, dsahern@gmail.com, linux-kernel@vger.kernel.org, jolsa@redhat.com, mingo@kernel.org, namhyung@kernel.org In-Reply-To: <1431184784-30525-1-git-send-email-namhyung@kernel.org> References: <1431184784-30525-1-git-send-email-namhyung@kernel.org> To: linux-tip-commits@vger.kernel.org Subject: [tip:perf/core] perf tools: Document relation of per-thread event count feature Git-Commit-ID: 1f91d5fd03d410365d9781ce981f9712b19a0751 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: 1f91d5fd03d410365d9781ce981f9712b19a0751 Gitweb: http://git.kernel.org/tip/1f91d5fd03d410365d9781ce981f9712b19a0751 Author: Namhyung Kim AuthorDate: Sun, 10 May 2015 00:19:42 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 12 May 2015 09:59:48 -0300 perf tools: Document relation of per-thread event count feature The 'perf record -s' and 'perf report -T' should be used together to see per-thread event counts. Document the relation of these commands. Signed-off-by: Namhyung Kim Cc: David Ahern Cc: Jiri Olsa Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/1431184784-30525-1-git-send-email-namhyung@kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/Documentation/perf-record.txt | 3 ++- tools/perf/Documentation/perf-report.txt | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/perf/Documentation/perf-record.txt b/tools/perf/Documentation/perf-record.txt index 57dd57b..280533e 100644 --- a/tools/perf/Documentation/perf-record.txt +++ b/tools/perf/Documentation/perf-record.txt @@ -147,7 +147,8 @@ OPTIONS -s:: --stat:: - Per thread counts. + Record per-thread event counts. Use it with 'perf report -T' to see + the values. -d:: --data:: diff --git a/tools/perf/Documentation/perf-report.txt b/tools/perf/Documentation/perf-report.txt index 27190ed..c33b69f 100644 --- a/tools/perf/Documentation/perf-report.txt +++ b/tools/perf/Documentation/perf-report.txt @@ -34,7 +34,8 @@ OPTIONS -T:: --threads:: - Show per-thread event counters + Show per-thread event counters. The input data file should be recorded + with -s option. -c:: --comms=:: Only consider symbols in these comms. CSV that understands