aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2009-06-11 08:06:28 -0400
committerIngo Molnar <mingo@elte.hu>2009-06-11 11:54:15 -0400
commitf4dbfa8f3131a84257223393905f7efad0ca5996 (patch)
tree67bb2666868c4449c2fa9ba6dc931721f60deb6c /include
parent1c432d899d32d36371ee4ee310fa3609cf0e5742 (diff)
perf_counter: Standardize event names
Pure renames only, to PERF_COUNT_HW_* and PERF_COUNT_SW_*. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Mike Galbraith <efault@gmx.de> Cc: Paul Mackerras <paulus@samba.org> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> LKML-Reference: <new-submission> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include')
-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/*