linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Arnaldo Carvalho de Melo <acme@redhat.com>
To: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>, Sam Liao <phyomh@gmail.com>,
	linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org,
	Peter Zijlstra <a.p.zijlstra@chello.nl>,
	Arjan van de Ven <arjan@infradead.org>
Subject: Re: [PATCH] Add inverted call graph report support to perf tool
Date: Fri, 11 Mar 2011 11:45:08 -0300	[thread overview]
Message-ID: <20110311144508.GI14438@ghostprotocols.net> (raw)
In-Reply-To: <20110311105118.GA1826@nowhere>

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 <fweisbec@gmail.com> 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

  reply	other threads:[~2011-03-11 14:45 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-07 13:43 [PATCH] Add inverted call graph report support to perf tool Sam Liao
2011-03-07 18:06 ` Frederic Weisbecker
2011-03-08  8:59   ` Sam Liao
2011-03-10  2:43     ` Frederic Weisbecker
2011-03-10  6:48       ` Ingo Molnar
2011-03-11 10:51         ` Frederic Weisbecker
2011-03-11 14:45           ` Arnaldo Carvalho de Melo [this message]
2011-03-10 14:32       ` Sam Liao
2011-03-11 11:57         ` Frederic Weisbecker
2011-03-11 12:07           ` Frederic Weisbecker
2011-03-12 14:59           ` Sam Liao
2011-05-06  8:54             ` Ingo Molnar
2011-03-12  1:31 ` Arun Sharma

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110311144508.GI14438@ghostprotocols.net \
    --to=acme@redhat.com \
    --cc=a.p.zijlstra@chello.nl \
    --cc=arjan@infradead.org \
    --cc=fweisbec@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-perf-users@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=phyomh@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).