aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/perf_counter.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/perf_counter.h')
-rw-r--r--include/linux/perf_counter.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/include/linux/perf_counter.h b/include/linux/perf_counter.h
index d5911b02bc8c..887df88a9c2a 100644
--- a/include/linux/perf_counter.h
+++ b/include/linux/perf_counter.h
@@ -42,15 +42,15 @@ enum perf_hw_id {
42 /* 42 /*
43 * Common hardware events, generalized by the kernel: 43 * Common hardware events, generalized by the kernel:
44 */ 44 */
45 PERF_COUNT_CPU_CYCLES = 0, 45 PERF_COUNT_HW_CPU_CYCLES = 0,
46 PERF_COUNT_INSTRUCTIONS = 1, 46 PERF_COUNT_HW_INSTRUCTIONS = 1,
47 PERF_COUNT_CACHE_REFERENCES = 2, 47 PERF_COUNT_HW_CACHE_REFERENCES = 2,
48 PERF_COUNT_CACHE_MISSES = 3, 48 PERF_COUNT_HW_CACHE_MISSES = 3,
49 PERF_COUNT_BRANCH_INSTRUCTIONS = 4, 49 PERF_COUNT_HW_BRANCH_INSTRUCTIONS = 4,
50 PERF_COUNT_BRANCH_MISSES = 5, 50 PERF_COUNT_HW_BRANCH_MISSES = 5,
51 PERF_COUNT_BUS_CYCLES = 6, 51 PERF_COUNT_HW_BUS_CYCLES = 6,
52 52
53 PERF_HW_EVENTS_MAX, /* non ABI */ 53 PERF_COUNT_HW_MAX, /* non ABI */
54}; 54};
55 55
56/* 56/*
@@ -93,15 +93,15 @@ enum perf_hw_cache_op_result_id {
93 * well): 93 * well):
94 */ 94 */
95enum perf_sw_ids { 95enum perf_sw_ids {
96 PERF_COUNT_CPU_CLOCK = 0, 96 PERF_COUNT_SW_CPU_CLOCK = 0,
97 PERF_COUNT_TASK_CLOCK = 1, 97 PERF_COUNT_SW_TASK_CLOCK = 1,
98 PERF_COUNT_PAGE_FAULTS = 2, 98 PERF_COUNT_SW_PAGE_FAULTS = 2,
99 PERF_COUNT_CONTEXT_SWITCHES = 3, 99 PERF_COUNT_SW_CONTEXT_SWITCHES = 3,
100 PERF_COUNT_CPU_MIGRATIONS = 4, 100 PERF_COUNT_SW_CPU_MIGRATIONS = 4,
101 PERF_COUNT_PAGE_FAULTS_MIN = 5, 101 PERF_COUNT_SW_PAGE_FAULTS_MIN = 5,
102 PERF_COUNT_PAGE_FAULTS_MAJ = 6, 102 PERF_COUNT_SW_PAGE_FAULTS_MAJ = 6,
103 103
104 PERF_SW_EVENTS_MAX, /* non ABI */ 104 PERF_COUNT_SW_MAX, /* non ABI */
105}; 105};
106 106
107/* 107/*