Re: [PATCH] perf report: Fix sort__sym_cmp to also compare end of symbol
From: Arnaldo Carvalho de Melo
Date: Fri Jun 19 2015 - 17:15:29 EST
Em Wed, Jun 17, 2015 at 04:55:58PM -0700, Yannick Brosseau escreveu:
> On 06/17/2015 04:53 PM, Jeff Epler wrote:
> > On Wed, Jun 17, 2015 at 04:41:10PM -0700, Yannick Brosseau wrote:
> >> When using a map file from a JIT, due to memory reuse, we can
> >> obtain multiple symbols with the same start address but a different
> >> length.
> > Is there some reason it's impossible for the reused memory to have the
> > same length / end address?
> >
> It's possible that they are the same, and in that case the function
> returns 0.
> The patch is adding the handling of the case where they are different.
Looks sensible, applied.
- Arnaldo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
Please read the FAQ at http://www.tux.org/lkml/