projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9ea2fd
)
perf_counter tools: Add alias for 'l1d' and 'l1i'
author
Jaswinder Singh Rajput
<jaswinder@kernel.org>
Thu, 25 Jun 2009 15:57:42 +0000
(21:27 +0530)
committer
Ingo Molnar
<mingo@elte.hu>
Thu, 25 Jun 2009 19:54:53 +0000
(21:54 +0200)
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>
tools/perf/util/parse-events.c
patch
|
blob
|
blame
|
history
diff --git
a/tools/perf/util/parse-events.c
b/tools/perf/util/parse-events.c
index 430f06083201adbad63b77c83928eb5d49ceec9f..4d042f104cdcf44539478f66f43e1cf5ea54520a 100644
(file)
--- 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", },