[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAPhsuW4D9E84J1v=KHePQxSaw+DAbJipPuHaBGdAJRay2zp6YA@mail.gmail.com>
Date: Fri, 13 Jan 2023 13:06:14 -0800
From: Song Liu <song@...nel.org>
To: Namhyung Kim <namhyung@...nel.org>
Cc: Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Arnaldo Carvalho de Melo <acme@...nel.org>,
Jiri Olsa <jolsa@...nel.org>,
LKML <linux-kernel@...r.kernel.org>, linux-s390@...r.kernel.org,
x86@...nel.org
Subject: Re: [PATCH 7/8] perf/core: Introduce perf_prepare_header()
On Thu, Jan 12, 2023 at 1:40 PM Namhyung Kim <namhyung@...nel.org> wrote:
>
> Factor out perf_prepare_header() so that it can call
> perf_prepare_sample() without a header if not needed.
>
> Also it checks the filtered_sample_type to avoid duplicate
> work when perf_prepare_sample() is called twice (or more).
>
> Cc: linux-s390@...r.kernel.org
> Cc: x86@...nel.org
> Suggested-by: Peter Zijlstr <peterz@...radead.org>
> Signed-off-by: Namhyung Kim <namhyung@...nel.org>
Acked-by: Song Liu <song@...nel.org>
Powered by blists - more mailing lists