[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171103113355.trx34ebuyhw7bej4@lakrids.cambridge.arm.com>
Date: Fri, 3 Nov 2017 11:33:56 +0000
From: Mark Rutland <mark.rutland@....com>
To: ray.huang@....com
Cc: linux-kernel@...r.kernel.org
Subject: perf/x86/amd/power missing pmu::module initialisation
Hi,
As a heads-up, I believe that arch/x86/events/amd/power.c is currently
missing initialisation of pmu::module, which could result in problems
when the module is unloaded.
We've just spotted a similar problem in a couple of ARM PMUs, and AFAICT
the AMD power PMU is the only other PMU affected.
Other modular PMUs all initialise this to THIS_MODULE prior to calling
perf_pmu_register().
Thanks,
Mark.
Powered by blists - more mailing lists