[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CABPqkBRXyV-D8qDHHRqFR7pft=4Hk268znfV8qjxVNhjRxH0tw@mail.gmail.com>
Date: Mon, 31 Jan 2022 23:34:12 -0800
From: Stephane Eranian <eranian@...gle.com>
To: Peter Zijlstra <peterz@...radead.org>
Cc: linux-kernel@...r.kernel.org, kim.phillips@....com,
acme@...hat.com, jolsa@...hat.com, songliubraving@...com
Subject: Re: [PATCH v5 09/13] perf/x86/amd: add idle hooks for branch sampling
On Thu, Jan 27, 2022 at 5:07 AM Peter Zijlstra <peterz@...radead.org> wrote:
>
> On Wed, Jan 26, 2022 at 03:34:50PM -0800, Stephane Eranian wrote:
> > +static inline void perf_lopwr_cb(bool mode)
> > +{
> > + /* key enabled only when BRS is available */
> > + if (static_branch_unlikely(&perf_lopwr_needed))
> > + perf_amd_brs_lopwr_cb(mode);
> > +}
>
> static_call() might be better at this point..
Ok, I will fix this in v6.
Thanks.
Powered by blists - more mailing lists