Re: [RFC] perf_events: support for uncore a.k.a. nest units
From
Peter Zijlstra <>
Date
Wed, 21 Apr 2010 11:57:49 +0200
On Wed, 2010-04-21 at 17:42 +0800, Lin Ming wrote: > + /* > + * TBD: will move this to pmu register function > + * when multiple hw pmu support is added > + */ > + pmu.flag = alloc_percpu(u8); > + if (!pmu.flag) > + return;
Why not simply use a field in struct cpu_hw_events?