aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/perf_counter.h
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2009-03-13 07:21:34 -0400
committerIngo Molnar <mingo@elte.hu>2009-04-06 03:29:40 -0400
commitac17dc8e58f3069ea895cfff963adf98ff3cf6b2 (patch)
treefe07b13dd100fd1f650d8437296f5c6908e9adea /include/linux/perf_counter.h
parent7dd1fcc258b65da718f01e4684a7b9244501a9fb (diff)
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>
Diffstat (limited to 'include/linux/perf_counter.h')
-rw-r--r--include/linux/perf_counter.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/perf_counter.h b/include/linux/perf_counter.h
index 3fefc3b8150d..4b14a8e9dbf5 100644
--- a/include/linux/perf_counter.h
+++ b/include/linux/perf_counter.h
@@ -49,8 +49,10 @@ enum hw_event_types {
49 PERF_COUNT_PAGE_FAULTS = -3, 49 PERF_COUNT_PAGE_FAULTS = -3,
50 PERF_COUNT_CONTEXT_SWITCHES = -4, 50 PERF_COUNT_CONTEXT_SWITCHES = -4,
51 PERF_COUNT_CPU_MIGRATIONS = -5, 51 PERF_COUNT_CPU_MIGRATIONS = -5,
52 PERF_COUNT_PAGE_FAULTS_MIN = -6,
53 PERF_COUNT_PAGE_FAULTS_MAJ = -7,
52 54
53 PERF_SW_EVENTS_MIN = -6, 55 PERF_SW_EVENTS_MIN = -8,
54}; 56};
55 57
56/* 58/*