projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ebf975
)
perf_counter tools: Remove one L1-data alias
author
Yong Wang
<
[email protected]
>
Fri, 12 Jun 2009 03:17:06 +0000
(11:17 +0800)
committer
Ingo Molnar
<
[email protected]
>
Fri, 12 Jun 2009 11:45:09 +0000
(13:45 +0200)
Otherwise all L1-instruction aliases will be recognized as
L1-data by strcasestr() when calling function parse_aliases.
Signed-off-by: Yong Wang <
[email protected]
>
Cc: Peter Zijlstra <
[email protected]
>
Cc: Paul Mackerras <
[email protected]
>
LKML-Reference: <
20090612031706
[email protected]
>
Signed-off-by: Ingo Molnar <
[email protected]
>
tools/perf/util/parse-events.c
patch
|
blob
|
history
diff --git
a/tools/perf/util/parse-events.c
b/tools/perf/util/parse-events.c
index 9d5f1ca50e6fe4fc8466f3d97f8051a1e39253f2..5a72586e1df04dfcc7295ba1eb122a5e0d58f8de 100644
(file)
--- a/
tools/perf/util/parse-events.c
+++ b/
tools/perf/util/parse-events.c
@@
-75,7
+75,7
@@
static char *sw_event_names[] = {
#define MAX_ALIASES 8
static char *hw_cache [][MAX_ALIASES] = {
- { "L1-data" , "l1-d", "l1d"
, "l1"
},
+ { "L1-data" , "l1-d", "l1d"
},
{ "L1-instruction" , "l1-i", "l1i" },
{ "L2" , "l2" },
{ "Data-TLB" , "dtlb", "d-tlb" },