[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20110615222402.GB18579@somewhere.redhat.com>
Date: Thu, 16 Jun 2011 00:24:05 +0200
From: Frederic Weisbecker <fweisbec@...il.com>
To: Ingo Molnar <mingo@...e.hu>
Cc: Sam Liao <phyomh@...il.com>, Arun Sharma <asharma@...com>,
linux-kernel@...r.kernel.org, linux-perf-users@...r.kernel.org
Subject: Re: [PATCH] [perf] Add inverted call graph report support.
On Wed, Jun 15, 2011 at 10:15:18AM +0200, Ingo Molnar wrote:
>
> * Sam Liao <phyomh@...il.com> wrote:
>
> > On Wed, Jun 15, 2011 at 6:15 AM, Arun Sharma <asharma@...com> wrote:
> > > Sam,
> > >
> > > $ perf report -g graph,0.5,caller --sort pid
> > >
> > > is a bit hard to type. Perhaps add a simpler command line option
> > > that has the same effect?
> > >
> > > -Arun
> > >
> > >
> >
> > How about perf report -g [caller/callee,][graph,0.1] -s pid
> >
> > or remove the order of the options for "-g"
>
> We could alias the -G flag to the inverse graph.
Agreed.
-g could map to fine tuning of callchain parameters like it does right now
and we can use -G as a shortcut for inverted callchain keeping the default
settings.
> Plus it would be nice to allow a .perfconfig flag for people to
> configure their desired default reporting parameters.
Yeah.
It would be also nice to have a "caller" sorting mode:
perf report -G -s caller
This can be useful to get the entire tree of calls for each callers.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists