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>
This commit is contained in:
committed by
Ingo Molnar
parent
7dd1fcc258
commit
ac17dc8e58
@ -49,8 +49,10 @@ enum hw_event_types {
|
||||
PERF_COUNT_PAGE_FAULTS = -3,
|
||||
PERF_COUNT_CONTEXT_SWITCHES = -4,
|
||||
PERF_COUNT_CPU_MIGRATIONS = -5,
|
||||
PERF_COUNT_PAGE_FAULTS_MIN = -6,
|
||||
PERF_COUNT_PAGE_FAULTS_MAJ = -7,
|
||||
|
||||
PERF_SW_EVENTS_MIN = -6,
|
||||
PERF_SW_EVENTS_MIN = -8,
|
||||
};
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user