]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit20d2f2a71a7d89ef2a30caca2a0f28765bcb1441
tree6977e48df4a1429dae999d4afe23e5e28febc99e
parent821e2c4bb629f6e0592a3c2b424a225faebf2bf7
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