perf: Per-pmu-per-cpu contexts
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Mon, 6 Sep 2010 12:32:03 +0000 (14:32 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 9 Sep 2010 18:46:32 +0000 (20:46 +0200)
commit108b02cfce04ee90b0a07ee0b104baffd39f5934
treee209d5fe01cda90df2cc0241c6247fd934cc5087
parentb5ab4cd563e7ab49b27957704112a8ecade54e1f
perf: Per-pmu-per-cpu contexts

Allocate per-cpu contexts per pmu.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: paulus <paulus@samba.org>
Cc: stephane eranian <eranian@googlemail.com>
Cc: Robert Richter <robert.richter@amd.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Lin Ming <ming.m.lin@intel.com>
Cc: Yanmin <yanmin_zhang@linux.intel.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/perf_event.h
kernel/perf_event.c