From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932914AbcITVlw (ORCPT ); Tue, 20 Sep 2016 17:41:52 -0400 Received: from terminus.zytor.com ([198.137.202.10]:39088 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932393AbcITVlu (ORCPT ); Tue, 20 Sep 2016 17:41:50 -0400 Date: Tue, 20 Sep 2016 14:41:37 -0700 From: tip-bot for Namhyung Kim Message-ID: Cc: mingo@kernel.org, acme@redhat.com, hpa@zytor.com, a.p.zijlstra@chello.nl, jolsa@kernel.org, tglx@linutronix.de, namhyung@kernel.org, linux-kernel@vger.kernel.org, andi@firstfloor.org Reply-To: acme@redhat.com, mingo@kernel.org, hpa@zytor.com, a.p.zijlstra@chello.nl, jolsa@kernel.org, andi@firstfloor.org, namhyung@kernel.org, linux-kernel@vger.kernel.org, tglx@linutronix.de In-Reply-To: <20160913074552.13284-8-namhyung@kernel.org> References: <20160913074552.13284-8-namhyung@kernel.org> To: linux-tip-commits@vger.kernel.org Subject: [tip:perf/core] perf report: Enable group view with hierarchy Git-Commit-ID: 30d476ae738d1ce33f170dd79398ecd211274df6 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: 30d476ae738d1ce33f170dd79398ecd211274df6 Gitweb: http://git.kernel.org/tip/30d476ae738d1ce33f170dd79398ecd211274df6 Author: Namhyung Kim AuthorDate: Tue, 13 Sep 2016 16:45:52 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 13 Sep 2016 16:43:41 -0300 perf report: Enable group view with hierarchy Now that all the missing pieces are implemented, let's enable it. An example output below: $ perf record -e '{cycles,instructions}' make $ perf report --hierarchy --stdio ... # Overhead Command / Shared Object / Symbol # ...................... .................................. # ... 25.74% 27.18% sh 19.96% 24.14% libc-2.24.so 9.55% 14.64% [.] __strcmp_sse2 1.54% 0.00% [.] __tfind 1.07% 1.13% [.] _int_malloc 0.95% 0.00% [.] __strchr_sse2 0.89% 1.39% [.] __tsearch 0.76% 0.00% [.] strlen ... Signed-off-by: Namhyung Kim Requested-by: Andi Kleen Tested-by: Arnaldo Carvalho de Melo Cc: Jiri Olsa Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/20160913074552.13284-8-namhyung@kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/builtin-report.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c index 1a07c4c..6e88460 100644 --- a/tools/perf/builtin-report.c +++ b/tools/perf/builtin-report.c @@ -935,7 +935,6 @@ repeat: if (symbol_conf.report_hierarchy) { /* disable incompatible options */ - symbol_conf.event_group = false; symbol_conf.cumulate_callchain = false; if (field_order) {