Re: [PATCH] Add inverted call graph report support to perf tool

From: Ingo Molnar
Date: Fri May 06 2011 - 04:54:48 EST



* Sam Liao <phyomh@xxxxxxxxx> wrote:

> > It depends if you select reverse callchain or not:
> >
> > $ perf report -s caller
> >
> > That will report main and kernel_thread as hists, and regular callee -> caller callchains.
> > Hence under main hist, you'll a lot of callchain starting from random points and all
> > ending in main!
> >
> > $ perf report -s caller -g caller
> >
> > That will report main and kernel_thread as hists, with callchains starting from
> > main under main.
> >
> > It becomes interesting when you want more granularity with -s caller,dso if we bring a way
> > to push forward the entrypoint one day. I suspect even more sorting combinations are
> > going to be interesting.
> >
>
> Thanks for clarification. I'll try to come up with patches as you talked.

I'm wondering, is there any progress with this feature? Having sysprof-alike
reverse ordering for call chains is a really powerful form of visualization
IMO.

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/