lkml.org 
[lkml]   [2019]   [Oct]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 3/3] perf tools: Make 'struct map_shared' truly shared
> > We may need a COW operation for this (hopefully rare) case.
>
> so the jitted mmaps are inserted into the data file
> and processed during report where they can overload
> existing maps - thats detected before addition in:
>
> thread__insert_map
> map_groups__fixup_overlappings
> - which uses COW way -> map__clone(map, false);
> to create new map
>
> other fixups to maps are being done only for kernel maps,
> where we dont have a problem, because there's only one copy

I assume the same is true for /tmp/perf-* processing?

Thanks for looking into it.



-Andi

\
 
 \ /
  Last update: 2019-10-14 21:46    [W:0.056 / U:0.992 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site