aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2009-07-06 22:01:31 +1000
committerIngo Molnar <mingo@elte.hu>2009-07-10 10:04:06 +0200
commit9590b7ba3fefdfe0c7741f5e2f61faf2ffcea19c (patch)
treec95ee260e516ae370a86c91c3e8d92b7141d3152 /tools
parent805d127d62472f17c7d79baa001a7651afe2fa47 (diff)
downloadmrst-s0i3-test-9590b7ba3fefdfe0c7741f5e2f61faf2ffcea19c.tar.gz
mrst-s0i3-test-9590b7ba3fefdfe0c7741f5e2f61faf2ffcea19c.tar.xz
mrst-s0i3-test-9590b7ba3fefdfe0c7741f5e2f61faf2ffcea19c.zip
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>
Diffstat (limited to 'tools')
-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 5184959e061..518a33affe1 100644
--- a/tools/perf/util/parse-events.c
+++ b/tools/perf/util/parse-events.c
@@ -71,8 +71,8 @@ static char *sw_event_names[] = {
#define MAX_ALIASES 8
static char *hw_cache[][MAX_ALIASES] = {
- { "L1-d$", "l1-d", "l1d", "L1-data", },
- { "L1-i$", "l1-i", "l1i", "L1-instruction", },
+ { "L1-dcache", "l1-d", "l1d", "L1-data", },
+ { "L1-icache", "l1-i", "l1i", "L1-instruction", },
{ "LLC", "L2" },
{ "dTLB", "d-tlb", "Data-TLB", },
{ "iTLB", "i-tlb", "Instruction-TLB", },