Re: [PATCH 1/3] perf sort: Add 'addr' sort key

From: Arnaldo Carvalho de Melo
Date: Wed Mar 27 2013 - 16:59:31 EST


Em Wed, Mar 27, 2013 at 03:12:34PM +0900, Namhyung Kim escreveu:
> On Tue, 26 Mar 2013 15:40:23 +0100, Ingo Molnar wrote:
> > * Namhyung Kim <namhyung@xxxxxxxxxx> wrote:
> >> New addr sort key provides a way to sort the entries by the symbol
> >> addresses.

> > No objections from me - just wondering about the motivation: why would we
> > want to sort by symbol address?

> In fact, it came from bugzilla:

> https://bugzilla.kernel.org/show_bug.cgi?id=55561

Will Cohen asked if this was possible while trying to figure out why
some libxul.so samples were not being resolved to symbols, Will?

Namhyung, I'm using:

BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=55561

Just before the: Link: entry, consider adding it when addressing some
bugzilla entry, be it from bugzilla.kernel.org or from some other
bugzilla where problems or feature requests were made.

- Arnaldo

> >
> > Perhaps to see the overhead layout/distribution within a DSO, to better
> > cache-pack hot functions by placing them next to each other?
> >
> > Putting a short usecase into the changelog (or even better, the
> > documentation) would be nice.
>
> Well, I didn't thought it much, but yeah, aforementioned usecase looks
> promising. Also it might be useful to find out which part is the
> hotpath in a function if you have some really big functions (possibly
> due to auto-inlining or something).
>
> Arnaldo, do you have other usecase/scenario in mind?

See above.
--
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/