aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2009-07-06 08:01:31 -0400
committerIngo Molnar <mingo@elte.hu>2009-07-10 04:04:06 -0400
commit9590b7ba3fefdfe0c7741f5e2f61faf2ffcea19c (patch)
treec95ee260e516ae370a86c91c3e8d92b7141d3152
parent805d127d62472f17c7d79baa001a7651afe2fa47 (diff)
perf_counter tools: Rename cache events to remove $
The cache events contain '$' which will hit shell variable expansion. To avoid confusion change this to 'cache', ie L1-d$-loads becomes L1-dcache-loads. Signed-off-by: Anton Blanchard <anton@samba.org> Cc: Roland Dreier <rdreier@cisco.com> Cc: Jaswinder Singh Rajput <jaswinder@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> LKML-Reference: <20090706120131.GB4391@kryten> Signed-off-by: Ingo Molnar <mingo@elte.hu>
-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 5184959e0615..518a33affe1a 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", "l1d", "L1-data", }, 74 { "L1-dcache", "l1-d", "l1d", "L1-data", },
75 { "L1-i$", "l1-i", "l1i", "L1-instruction", }, 75 { "L1-icache", "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", },