Re: [PATCH v4 3/3] perf/core: Check sample_type in perf_sample_save_brstack
From: Namhyung Kim
Date: Mon May 13 2024 - 16:39:29 EST
On Mon, May 13, 2024 at 11:31 AM Yabin Cui <yabinc@xxxxxxxxxx> wrote:
>
> arch/powerpc/perf/core-book3s.c checks sample_type, see
> if (event->attr.sample_type & PERF_SAMPLE_BRANCH_STACK) {
> ...
> perf_sample_save_brstack(&data, event, &cpuhw->bhrb_stack, NULL);
> }
> So I think we don't need the "fixes:" line.
Oh, ok. Thanks for the correction!
Namhyung