aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/perf_counter.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-12-14 06:28:33 -0500
committerIngo Molnar <mingo@elte.hu>2008-12-14 14:31:23 -0500
commit5d6a27d8a096868ae313f71f563b06074a7e34fe (patch)
tree0155a8bedea29a6e3eaaa827d1dd2934f68f695b /include/linux/perf_counter.h
parent8cb391e8786c8072367f0aeb90551903fef074ba (diff)
perfcounters: add context switch counter
Impact: add new feature, new sw counter Add a counter that counts the number of context-switches a task is doing. 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, 2 insertions, 2 deletions
diff --git a/include/linux/perf_counter.h b/include/linux/perf_counter.h
index e5d25bf8f74e..d2a16563415f 100644
--- a/include/linux/perf_counter.h
+++ b/include/linux/perf_counter.h
@@ -53,8 +53,8 @@ enum hw_event_types {
53 /* 53 /*
54 * Future software events: 54 * Future software events:
55 */ 55 */
56 /* PERF_COUNT_PAGE_FAULTS = -3, 56 PERF_COUNT_PAGE_FAULTS = -3,
57 PERF_COUNT_CONTEXT_SWITCHES = -4, */ 57 PERF_COUNT_CONTEXT_SWITCHES = -4,
58}; 58};
59 59
60/* 60/*