Re: [PATCH 08/12] perf tools: Preserve eBPF maps when loading kcore

2019-05-22 Thread Jiri Olsa
On Wed, May 22, 2019 at 01:06:57PM -0300, Arnaldo Carvalho de Melo wrote: > Em Wed, May 08, 2019 at 03:20:06PM +0200, Jiri Olsa escreveu: > > We need to preserve eBPF maps even if they are > > covered by kcore, because we need to access > > eBPF dso for source data. > > So, I reordered this one wi

Re: [PATCH 08/12] perf tools: Preserve eBPF maps when loading kcore

2019-05-22 Thread Arnaldo Carvalho de Melo
Em Wed, May 08, 2019 at 03:20:06PM +0200, Jiri Olsa escreveu: > We need to preserve eBPF maps even if they are > covered by kcore, because we need to access > eBPF dso for source data. So, I reordered this one with the previous, as to get the output you added to 07/12 we need what is in 08/12, and

[PATCH 08/12] perf tools: Preserve eBPF maps when loading kcore

2019-05-08 Thread Jiri Olsa
We need to preserve eBPF maps even if they are covered by kcore, because we need to access eBPF dso for source data. Adding map_groups__merge_in function to do that. It merges map into map_groups by splitting the new map within the existing map regions. Suggested-by: Adrian Hunter Link: http://l

[PATCH 08/12] perf tools: Preserve eBPF maps when loading kcore

2019-05-03 Thread Jiri Olsa
We need to preserve eBPF maps even if they are covered by kcore, because we need to access eBPF dso for source data. Adding map_groups__merge_in function to do that. It merges map into map_groups by splitting the new map within the existing map regions. Suggested-by: Adrian Hunter Link: http://l