]> git.baikalelectronics.ru Git - kernel.git/commit
perf: Fix the missing event initialization when pmu is found in idr
authorLin Ming <ming.m.lin@intel.com>
Sun, 27 Feb 2011 13:13:31 +0000 (21:13 +0800)
committerIngo Molnar <mingo@elte.hu>
Fri, 4 Mar 2011 10:32:50 +0000 (11:32 +0100)
commit8bbedd804215233329943d1d5c86bbc9765ba013
tree7264bdfcc08d5c6f0223d0d45ba7db4e47cf9957
parentc927793dcf0274bd39bf4c91b2c75285c9cdafc9
perf: Fix the missing event initialization when pmu is found in idr

Currently, the event is not initialized if pmu is found in idr. This
never causes bug just because now no pmu is associated with the idr
id.

Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1298812411.2699.9.camel@localhost>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/perf_event.c