Re: [PATCH v5 08/50] perf record: Be lazier in allocating lost samples buffer

From: Arnaldo Carvalho de Melo
Date: Tue Dec 05 2023 - 10:54:53 EST


Em Sat, Dec 02, 2023 at 03:56:48PM -0800, Namhyung Kim escreveu:
> On Thu, Nov 30, 2023 at 10:29 AM Ian Rogers <irogers@xxxxxxxxxx> wrote:
> > On Wed, Nov 29, 2023 at 6:09 PM Namhyung Kim <namhyung@xxxxxxxxxx> wrote:
> > > To minimize the allocation size, this can be
> > > sizeof(*lost) + session->machines.host.id_hdr_size
> > > instead of PERF_SAMPLE_MAX_SIZE.
> >
> > Sounds good, should probably be a follow up. The current size is
> > PERF_SAMPLE_MAX_SIZE.
>
> Yep, I'm ok with having it as a follow-up.
>
> Acked-by: Namhyung Kim <namhyung@xxxxxxxxxx>

Thanks, applied to perf-tools-next.

- Arnaldo