aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/cpu/perf_counter.c
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2009-06-11 08:19:11 -0400
committerIngo Molnar <mingo@elte.hu>2009-06-11 11:54:17 -0400
commit8be6e8f3c3a13900169f1141870562d0c723b010 (patch)
tree0041b2557561ada3566bd309f0b3153e31a9854c /arch/x86/kernel/cpu/perf_counter.c
parentf4dbfa8f3131a84257223393905f7efad0ca5996 (diff)
perf_counter: Rename L2 to LL cache
The top (fastest) and last level (biggest) caches are the most interesting ones, performance wise. 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> [ Fixed the Nehalem LL table to LLC Reference/Miss events ] Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/cpu/perf_counter.c')
-rw-r--r--arch/x86/kernel/cpu/perf_counter.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/x86/kernel/cpu/perf_counter.c b/arch/x86/kernel/cpu/perf_counter.c
index 572fb434a666..895c82e78455 100644
--- a/arch/x86/kernel/cpu/perf_counter.c
+++ b/arch/x86/kernel/cpu/perf_counter.c
@@ -131,7 +131,7 @@ static const u64 nehalem_hw_cache_event_ids
131 [ C(RESULT_MISS) ] = 0x0, 131 [ C(RESULT_MISS) ] = 0x0,
132 }, 132 },
133 }, 133 },
134 [ C(L2 ) ] = { 134 [ C(LL ) ] = {
135 [ C(OP_READ) ] = { 135 [ C(OP_READ) ] = {
136 [ C(RESULT_ACCESS) ] = 0x0324, /* L2_RQSTS.LOADS */ 136 [ C(RESULT_ACCESS) ] = 0x0324, /* L2_RQSTS.LOADS */
137 [ C(RESULT_MISS) ] = 0x0224, /* L2_RQSTS.LD_MISS */ 137 [ C(RESULT_MISS) ] = 0x0224, /* L2_RQSTS.LD_MISS */
@@ -141,8 +141,8 @@ static const u64 nehalem_hw_cache_event_ids
141 [ C(RESULT_MISS) ] = 0x0824, /* L2_RQSTS.RFO_MISS */ 141 [ C(RESULT_MISS) ] = 0x0824, /* L2_RQSTS.RFO_MISS */
142 }, 142 },
143 [ C(OP_PREFETCH) ] = { 143 [ C(OP_PREFETCH) ] = {
144 [ C(RESULT_ACCESS) ] = 0xc024, /* L2_RQSTS.PREFETCHES */ 144 [ C(RESULT_ACCESS) ] = 0x4f2e, /* LLC Reference */
145 [ C(RESULT_MISS) ] = 0x8024, /* L2_RQSTS.PREFETCH_MISS */ 145 [ C(RESULT_MISS) ] = 0x412e, /* LLC Misses */
146 }, 146 },
147 }, 147 },
148 [ C(DTLB) ] = { 148 [ C(DTLB) ] = {
@@ -222,7 +222,7 @@ static const u64 core2_hw_cache_event_ids
222 [ C(RESULT_MISS) ] = 0, 222 [ C(RESULT_MISS) ] = 0,
223 }, 223 },
224 }, 224 },
225 [ C(L2 ) ] = { 225 [ C(LL ) ] = {
226 [ C(OP_READ) ] = { 226 [ C(OP_READ) ] = {
227 [ C(RESULT_ACCESS) ] = 0x4f29, /* L2_LD.MESI */ 227 [ C(RESULT_ACCESS) ] = 0x4f29, /* L2_LD.MESI */
228 [ C(RESULT_MISS) ] = 0x4129, /* L2_LD.ISTATE */ 228 [ C(RESULT_MISS) ] = 0x4129, /* L2_LD.ISTATE */
@@ -313,7 +313,7 @@ static const u64 atom_hw_cache_event_ids
313 [ C(RESULT_MISS) ] = 0, 313 [ C(RESULT_MISS) ] = 0,
314 }, 314 },
315 }, 315 },
316 [ C(L2 ) ] = { 316 [ C(LL ) ] = {
317 [ C(OP_READ) ] = { 317 [ C(OP_READ) ] = {
318 [ C(RESULT_ACCESS) ] = 0x4f29, /* L2_LD.MESI */ 318 [ C(RESULT_ACCESS) ] = 0x4f29, /* L2_LD.MESI */
319 [ C(RESULT_MISS) ] = 0x4129, /* L2_LD.ISTATE */ 319 [ C(RESULT_MISS) ] = 0x4129, /* L2_LD.ISTATE */
@@ -422,7 +422,7 @@ static const u64 amd_0f_hw_cache_event_ids
422 [ C(RESULT_MISS) ] = 0, 422 [ C(RESULT_MISS) ] = 0,
423 }, 423 },
424 }, 424 },
425 [ C(L2 ) ] = { 425 [ C(LL ) ] = {
426 [ C(OP_READ) ] = { 426 [ C(OP_READ) ] = {
427 [ C(RESULT_ACCESS) ] = 0, 427 [ C(RESULT_ACCESS) ] = 0,
428 [ C(RESULT_MISS) ] = 0, 428 [ C(RESULT_MISS) ] = 0,