aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf
diff options
context:
space:
mode:
authorJaswinder Singh Rajput <jaswinder@kernel.org>2009-06-25 11:57:42 -0400
committerIngo Molnar <mingo@elte.hu>2009-06-25 15:54:53 -0400
commit4418351f06d9ce73acc846158c20186965f920f3 (patch)
treebe4dadab7b3556a4b4e2b3737db5935f6b16b783 /tools/perf
parente9ea2fde7a07ae60a119171a2946ed2ae778271e (diff)
perf_counter tools: Add alias for 'l1d' and 'l1i'
Add 'l1d' and 'l1i' aliases again as shortcuts - just dont make them the primary display alias. Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Mike Galbraith <efault@gmx.de> Cc: Paul Mackerras <paulus@samba.org> LKML-Reference: <1245945462.9157.11.camel@hpdv5.satnam> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf')
-rw-r--r--tools/perf/util/parse-events.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/util/parse-events.c b/tools/perf/util/parse-events.c
index 430f06083201..4d042f104cdc 100644
--- a/tools/perf/util/parse-events.c
+++ b/tools/perf/util/parse-events.c
@@ -71,8 +71,8 @@ static char *sw_event_names[] = {
71#define MAX_ALIASES 8 71#define MAX_ALIASES 8
72 72
73static char *hw_cache[][MAX_ALIASES] = { 73static char *hw_cache[][MAX_ALIASES] = {
74 { "L1-d$", "l1-d", "L1-data", }, 74 { "L1-d$", "l1-d", "l1d", "L1-data", },
75 { "L1-i$", "l1-i", "L1-instruction", }, 75 { "L1-i$", "l1-i", "l1i", "L1-instruction", },
76 { "LLC", "L2" }, 76 { "LLC", "L2" },
77 { "dTLB", "d-tlb", "Data-TLB", }, 77 { "dTLB", "d-tlb", "Data-TLB", },
78 { "iTLB", "i-tlb", "Instruction-TLB", }, 78 { "iTLB", "i-tlb", "Instruction-TLB", },