From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnaldo Carvalho de Melo Subject: Re: [PATCH] Add inverted call graph report support to perf tool Date: Fri, 11 Mar 2011 11:45:08 -0300 Message-ID: <20110311144508.GI14438@ghostprotocols.net> References: <20110307180619.GG1873@nowhere> <20110310024355.GG2533@nowhere> <20110310064816.GF9289@elte.hu> <20110311105118.GA1826@nowhere> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mx1.redhat.com ([209.132.183.28]:29129 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752834Ab1CKOp3 (ORCPT ); Fri, 11 Mar 2011 09:45:29 -0500 Content-Disposition: inline In-Reply-To: <20110311105118.GA1826@nowhere> Sender: linux-perf-users-owner@vger.kernel.org List-ID: To: Frederic Weisbecker Cc: Ingo Molnar , Sam Liao , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, Peter Zijlstra , Arjan van de Ven Em Fri, Mar 11, 2011 at 11:51:22AM +0100, Frederic Weisbecker escreveu: > On Thu, Mar 10, 2011 at 07:48:16AM +0100, Ingo Molnar wrote: > > * Frederic Weisbecker wrote: > > > But your idea of turning the callee into the caller would show us a very global > > > profiling. With reverse callchains it can be a very nice overview of the big > > > picture. > > Very much agreed - i think that matches the sysprof display structure as well, > > right? > Yeah indeed, IIRC. > > This could then be propagated not just into perf report but perf top --tui as well. > Probably yeah. Are callchains already supported by perf top? No, they arent, the move to get 'struct hist_entry' (used by report) and 'struct sym_entry' (used by top) is underway, I want to merge the hists browser with the top browser, at that point it all becomes just one tool: start with 'perf top' press F -> freeze: it becomes 'perf report' in both modes press 'A' and you get annotation, if in top mode, live, if in 'report' mode, static. Having this all integrated and easily switched to/from various modes is what, in my view, makes the TUI (and GUI at some point) compelling. - Arnaldo