lkml.org 
[lkml]   [2011]   [Jun]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] [perf] Add inverted call graph report support.
    On Wed, Jun 15, 2011 at 10:15:18AM +0200, Ingo Molnar wrote:
    >
    > * Sam Liao <phyomh@gmail.com> wrote:
    >
    > > On Wed, Jun 15, 2011 at 6:15 AM, Arun Sharma <asharma@fb.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@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2011-06-16 00:27    [W:0.025 / U:0.276 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site