perf_counter: provide major/minor page fault software events
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Fri, 13 Mar 2009 11:21:34 +0000 (12:21 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 6 Apr 2009 07:29:40 +0000 (09:29 +0200)
commitac17dc8e58f3069ea895cfff963adf98ff3cf6b2
treefe07b13dd100fd1f650d8437296f5c6908e9adea
parent7dd1fcc258b65da718f01e4684a7b9244501a9fb
perf_counter: provide major/minor page fault software events

Provide separate sw counters for major and minor page faults.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/powerpc/mm/fault.c
arch/x86/mm/fault.c
include/linux/perf_counter.h
kernel/perf_counter.c