Re: [tip:perf/urgent] perf/x86: Set pmu->module in Intel PMU modules

From: Peter Zijlstra
Date: Thu Jan 05 2017 - 15:52:22 EST


On Thu, Jan 05, 2017 at 10:46:30AM -0800, Linus Torvalds wrote:
> On Thu, Jan 5, 2017 at 7:52 AM, Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
> >
> > The first time I saw this I thought about doing something like the
> > below, but never got around to testing if that works and subsequently
> > forgot about things again.
> >
> > Does this make sense and or work?
>
> I'd argue against it.

Fair enough; /me files it in the bit-bucket.