Re: [PATCH 06/12] perf tools: Do not erase uncovered maps by kcore

2019-04-23 Thread Jiri Olsa
On Tue, Apr 23, 2019 at 12:32:12PM +0300, Adrian Hunter wrote: > On 16/04/19 7:01 PM, Jiri Olsa wrote: > > Maps in kcore do not cover bpf maps, so we can't just > > remove everything. Keeping all kernel maps, which are > > not covered by kcore maps. > > Memory for jited-bpf is allocated from the

Re: [PATCH 06/12] perf tools: Do not erase uncovered maps by kcore

2019-04-23 Thread Adrian Hunter
On 16/04/19 7:01 PM, Jiri Olsa wrote: > Maps in kcore do not cover bpf maps, so we can't just > remove everything. Keeping all kernel maps, which are > not covered by kcore maps. Memory for jited-bpf is allocated from the same area that is used for modules. In the case of /proc/kcore, that

[PATCH 06/12] perf tools: Do not erase uncovered maps by kcore

2019-04-16 Thread Jiri Olsa
Maps in kcore do not cover bpf maps, so we can't just remove everything. Keeping all kernel maps, which are not covered by kcore maps. Link: http://lkml.kernel.org/n/tip-9eytka8wofp0a047ul6lm...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/util/symbol.c | 14 +- 1 file