Re: [PATCHv2 0/2] perf tools: Share struct map after clone

2019-10-23 Thread Jiri Olsa
On Wed, Oct 16, 2019 at 10:22:24AM +0200, Jiri Olsa wrote: > hi, > Andi reported that maps cloning is eating lot of memory and > it's probably unnecessary, because they keep the same data. > > This 'maps sharing' seems to save lot of heap for reports with > many forks/cloned mmaps (over 60% in exa

[PATCHv2 0/2] perf tools: Share struct map after clone

2019-10-16 Thread Jiri Olsa
hi, Andi reported that maps cloning is eating lot of memory and it's probably unnecessary, because they keep the same data. This 'maps sharing' seems to save lot of heap for reports with many forks/cloned mmaps (over 60% in example below). Profile kernel build: $ perf record make -j 40 Get he