From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936493AbcJVIo6 (ORCPT ); Sat, 22 Oct 2016 04:44:58 -0400 Received: from terminus.zytor.com ([198.137.202.10]:57312 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932756AbcJVIoz (ORCPT ); Sat, 22 Oct 2016 04:44:55 -0400 Date: Sat, 22 Oct 2016 01:44:42 -0700 From: tip-bot for Jiri Olsa Message-ID: Cc: linux-kernel@vger.kernel.org, acme@redhat.com, jmario@redhat.com, hpa@zytor.com, namhyung@kernel.org, dzickus@redhat.com, a.p.zijlstra@chello.nl, andi@firstfloor.org, mingo@kernel.org, tglx@linutronix.de, dsahern@gmail.com, jolsa@kernel.org Reply-To: dzickus@redhat.com, a.p.zijlstra@chello.nl, andi@firstfloor.org, jolsa@kernel.org, tglx@linutronix.de, dsahern@gmail.com, mingo@kernel.org, linux-kernel@vger.kernel.org, acme@redhat.com, jmario@redhat.com, hpa@zytor.com, namhyung@kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip:perf/core] perf c2c report: Add 'tid' sort key Git-Commit-ID: e87019c5e8c6bc87e59bb01175479b1ab561c400 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: e87019c5e8c6bc87e59bb01175479b1ab561c400 Gitweb: http://git.kernel.org/tip/e87019c5e8c6bc87e59bb01175479b1ab561c400 Author: Jiri Olsa AuthorDate: Wed, 25 May 2016 08:50:10 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 19 Oct 2016 13:18:31 -0300 perf c2c report: Add 'tid' sort key It is to be displayed in the single cacheline output: tid It's a wrapper for global sort_thread sort entry with c2c specific header. Signed-off-by: Jiri Olsa Cc: Andi Kleen Cc: David Ahern Cc: Don Zickus Cc: Joe Mario Cc: Namhyung Kim Cc: Peter Zijlstra Link: http://lkml.kernel.org/n/tip-fr0socae5skzvz5qbkl85prn@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/builtin-c2c.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tools/perf/builtin-c2c.c b/tools/perf/builtin-c2c.c index 4795713..77810a3 100644 --- a/tools/perf/builtin-c2c.c +++ b/tools/perf/builtin-c2c.c @@ -1098,6 +1098,12 @@ static struct c2c_dimension dim_pid = { .width = 7, }; +static struct c2c_dimension dim_tid = { + .header = HEADER_LOW("Tid"), + .name = "tid", + .se = &sort_thread, +}; + static struct c2c_dimension *dimensions[] = { &dim_dcacheline, &dim_offset, @@ -1128,6 +1134,7 @@ static struct c2c_dimension *dimensions[] = { &dim_dram_lcl, &dim_dram_rmt, &dim_pid, + &dim_tid, NULL, };