perf_counter, x86: Add mmap counter read support
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Mon, 22 Jun 2009 14:35:24 +0000 (16:35 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 25 Jun 2009 19:39:06 +0000 (21:39 +0200)
commit194002b274e9169a04beb1b23dcc132159bb566c
tree6977e48df4a1429dae999d4afe23e5e28febc99e
parent7f8b4e4e0988dadfd22330fd147ad2453e19f510
perf_counter, x86: Add mmap counter read support

Update the mmap control page with the needed information to
use the userspace RDPMC instruction for self monitoring.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/powerpc/include/asm/perf_counter.h
arch/x86/include/asm/perf_counter.h
arch/x86/kernel/cpu/perf_counter.c
kernel/perf_counter.c