summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJaswinder Singh Rajput2009-06-25 17:57:42 +0200
committerIngo Molnar2009-06-25 21:54:53 +0200
commit4418351f06d9ce73acc846158c20186965f920f3 (patch)
treebe4dadab7b3556a4b4e2b3737db5935f6b16b783 /tools
parentperf-report: Add bare minimum PERF_EVENT_READ parsing (diff)
downloadkernel-qcow2-linux-4418351f06d9ce73acc846158c20186965f920f3.tar.gz
kernel-qcow2-linux-4418351f06d9ce73acc846158c20186965f920f3.tar.xz
kernel-qcow2-linux-4418351f06d9ce73acc846158c20186965f920f3.zip
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')
-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[] = {
#define MAX_ALIASES 8
static char *hw_cache[][MAX_ALIASES] = {
- { "L1-d$", "l1-d", "L1-data", },
- { "L1-i$", "l1-i", "L1-instruction", },
+ { "L1-d$", "l1-d", "l1d", "L1-data", },
+ { "L1-i$", "l1-i", "l1i", "L1-instruction", },
{ "LLC", "L2" },
{ "dTLB", "d-tlb", "Data-TLB", },
{ "iTLB", "i-tlb", "Instruction-TLB", },