Re: [PATCH v2 2/2] perf record: Save DSO build-ID for synthesizing

From: Namhyung Kim
Date: Wed Sep 21 2022 - 13:55:48 EST


On Wed, Sep 21, 2022 at 6:50 AM Arnaldo Carvalho de Melo
<acme@xxxxxxxxxx> wrote:
>
> Em Tue, Sep 20, 2022 at 03:28:22PM -0700, Namhyung Kim escreveu:
> > When synthesizing MMAP2 with build-id, it'd read the same file repeatedly as
> > it has no idea if it's done already. Maintain a dsos to check that and skip
> > the file access if possible.
> >
> > Signed-off-by: Namhyung Kim <namhyung@xxxxxxxxxx>
> > ---
> > v2 change)
> > * Remove perf_event__synthesize_{start,stop} and use machine->dsos (Adrian)
>
> Will wait till I merge perf/urgent into perf/core so that this applies.

Sounds good, thanks!
Namhyung