perf, x86: Implement user-space RDPMC support, to allow fast, user-space access to...
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Sun, 20 Nov 2011 19:44:06 +0000 (20:44 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 21 Dec 2011 10:01:10 +0000 (11:01 +0100)
commitfe4a330885aee20f233de36085fb15c38094e635
tree2dae96591caf2bd98131b3d75b685d41be7d1264
parent365a4038486b57bb2bd516706a80f82f250f5306
perf, x86: Implement user-space RDPMC support, to allow fast, user-space access to self-monitoring counters

Implement a correct pmu::event_idx for the x86 counter index rules and
set CR4.PCE on CPU_STARTING.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
Cc: Arun Sharma <asharma@fb.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Link: http://lkml.kernel.org/n/tip-mwxab34dibqgzk5zywutfnha@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/perf_event.c
This page took 0.044758 seconds and 5 git commands to generate.