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

From: Arnaldo Carvalho de Melo
Date: Wed Oct 05 2022 - 14:24:16 EST


Em Wed, Oct 05, 2022 at 10:50:01AM -0700, Namhyung Kim escreveu:
> On Wed, Sep 21, 2022 at 10:55 AM Namhyung Kim <namhyung@xxxxxxxxxx> wrote:
> > 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.
>
> I think it's doable now :)

Sure, applied! :-)

- Arnaldo