Re: [PATCH v7 00/13] perf/x86/amd: Add AMD Fam19h Branch Sampling support

From: Peter Zijlstra
Date: Fri Mar 25 2022 - 04:29:25 EST


On Thu, Mar 24, 2022 at 10:31:38PM -0700, Stephane Eranian wrote:
> On Thu, Mar 24, 2022 at 7:59 AM Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
> >
> > On Tue, Mar 22, 2022 at 03:15:04PM -0700, Stephane Eranian wrote:
> > > V7 makes the following changes:
> > > - rebased to 5.17-rc8
> > > - Restrict BRS to be used only with RETIRED_TAKEN_BRANCH event in order to
> > > avoid adding more skid to other events in case that are monitored
> > > concurrently
> > > - fixed bugs in the perf tool enhanced error handling for IBS and BRS
> >
> > But afaict you failed to pick up the build fixes I did in my tree :/ Let
> > me try and be careful preserving those while munging this in.
>
> Sorry. I missed that. I can resubmit if you prefer.

Nah, fixed it up again.. Even converted to static_call() this time.

Could you please test this branch?

https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/log/?h=perf/amd

I've since done more Changelog edits, and I should do a comment with the
static_call_mod() usage, but I think this ought to work.

At least it now actually builds...