From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753048Ab3KDNXw (ORCPT ); Mon, 4 Nov 2013 08:23:52 -0500 Received: from mail-wg0-f53.google.com ([74.125.82.53]:47335 "EHLO mail-wg0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752147Ab3KDNXu (ORCPT ); Mon, 4 Nov 2013 08:23:50 -0500 Date: Mon, 4 Nov 2013 14:23:46 +0100 From: Frederic Weisbecker To: Ingo Molnar Cc: Namhyung Kim , Arnaldo Carvalho de Melo , Peter Zijlstra , Paul Mackerras , Namhyung Kim , LKML , Stephane Eranian , Jiri Olsa , Rodrigo Campos , Arun Sharma Subject: Re: [RFC/PATCHSET 00/14] perf report: Add support to accumulate hist periods (v2) Message-ID: <20131104132345.GB9299@localhost.localdomain> References: <1383202576-28141-1-git-send-email-namhyung@kernel.org> <20131031080932.GA8479@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20131031080932.GA8479@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 31, 2013 at 09:09:32AM +0100, Ingo Molnar wrote: > > > * Namhyung Kim wrote: > > > When the -g cumulative option is given, it'll be shown like this: > > > > $ perf report -g cumulative --stdio > > > > # Overhead Overhead (Acc) Command Shared Object Symbol > > # ........ .............. ....... ................. ....................... > > # > > 0.00% 88.29% abc libc-2.17.so [.] __libc_start_main > > 0.00% 88.29% abc abc [.] main > > 0.00% 88.29% abc abc [.] c > > 0.00% 88.29% abc abc [.] b > > 88.29% 88.29% abc abc [.] a > > 0.00% 11.61% abc ld-2.17.so [k] _dl_sysdep_start > > 0.00% 9.43% abc ld-2.17.so [.] dl_main > > 9.43% 9.43% abc ld-2.17.so [.] _dl_relocate_object > > 2.27% 2.27% abc [kernel.kallsyms] [k] page_fault > > 0.00% 2.18% abc ld-2.17.so [k] _dl_start_user > > 0.00% 0.10% abc ld-2.17.so [.] _start > > > > As you can see __libc_start_main -> main -> c -> b -> a callchain > > show up in the output. > > This looks really useful! > > A couple of details: > > 1) > > This is pretty close to SysProf output, right? So why not use the > well-known SysProf naming and call the first column 'self' and the > second column 'total'? I think those names are pretty intuitive and > it would help people who come from SysProf over to perf. Makes sense. Or "Overhead" and "Total overhead"?