Re: [RFC 00/26] perf: Add mmap3 support

Arnaldo Carvalho de Melo
2020-09-14T16:43:08Z

Em Mon, Sep 14, 2020 at 02:25:25PM +0900, Namhyung Kim escreveu:
> On Mon, Sep 14, 2020 at 6:03 AM Jiri Olsa <jolsa@kernel.org> wrote:
> > while playing with perf daemon support I realized I need
> > the build id data in mmap events, so we don't need to care
> > about removed/updated binaries during long perf runs.

> > This RFC patchset adds new mmap3 events that copies mmap2
> > event and adds build id in it. It makes mmap3 the default
> > mmap event for synthesizing kernel/modules/tasks and adds
> > some tooling enhancements to enable the workflow below.

> Cool! It's nice that we can skip the final build-id collection stage
> with this while data size will be bigger.

Yeah, this is something long overdue, comes with extra cost for people
not wanting build-ids, but then they can just use MMAP2 or even MMAP if
that is enough.

More comments on the other patches.

- Arnaldo