lkml.org 
[lkml]   [2015]   [Jun]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] perf report: Fix sort__sym_cmp to also compare end of symbol
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.




\
 
 \ /
  Last update: 2015-06-18 02:21    [W:0.677 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site