Re: [PATCH] perf lookup of ppc64 symbols

From: Arnaldo Carvalho de Melo
Date: Thu Jun 17 2010 - 11:19:29 EST


Em Thu, Jun 17, 2010 at 12:17:05PM -0300, Arnaldo Carvalho de Melo escreveu:
> Em Fri, Jun 18, 2010 at 12:46:08AM +1000, Anton Blanchard escreveu:
> > address. The only tricky part here is working out which section the
> > text address is in. Right now we have a loop which is sub optimal:
>
> I'll update the comment in Eric's patch and apply this to perf/core, for
> .36, we can optimize this later, correctness first :-)

Also we only call dso__load lazily, when we find a hit in that DSO that
we want to resolve to a symbol, so it should be ok as-is.

- Arnaldo
--
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/