* [PATCH -tip] perf_counter tools: Remove one L1-data alias
@ 2009-06-12 3:17 Yong Wang
2009-06-12 11:49 ` [tip:perfcounters/core] " tip-bot for Yong Wang
0 siblings, 1 reply; 2+ messages in thread
From: Yong Wang @ 2009-06-12 3:17 UTC (permalink / raw)
To: Ingo Molnar; +Cc: linux-kernel
Otherwise all L1-instruction aliases will be recognized as L1-data by strcasestr()
when calling function parse_aliases.
Signed-off-by: Yong Wang <yong.y.wang@intel.com>
---
tools/perf/util/parse-events.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/perf/util/parse-events.c b/tools/perf/util/parse-events.c
index 9d5f1ca..5a72586 100644
--- 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" },
^ permalink raw reply [flat|nested] 2+ messages in thread
* [tip:perfcounters/core] perf_counter tools: Remove one L1-data alias
2009-06-12 3:17 [PATCH -tip] perf_counter tools: Remove one L1-data alias Yong Wang
@ 2009-06-12 11:49 ` tip-bot for Yong Wang
0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Yong Wang @ 2009-06-12 11:49 UTC (permalink / raw)
To: linux-tip-commits
Cc: linux-kernel, paulus, hpa, mingo, a.p.zijlstra, yong.y.wang,
yong.y.wang, tglx, mingo
Commit-ID: faafec1e61e61d350248af2a7e5f047606adab6e
Gitweb: http://git.kernel.org/tip/faafec1e61e61d350248af2a7e5f047606adab6e
Author: Yong Wang <yong.y.wang@linux.intel.com>
AuthorDate: Fri, 12 Jun 2009 11:17:06 +0800
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Fri, 12 Jun 2009 13:45:09 +0200
perf_counter tools: Remove one L1-data alias
Otherwise all L1-instruction aliases will be recognized as
L1-data by strcasestr() when calling function parse_aliases.
Signed-off-by: Yong Wang <yong.y.wang@intel.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
LKML-Reference: <20090612031706.GA22126@ywang-moblin2.bj.intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
tools/perf/util/parse-events.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tools/perf/util/parse-events.c b/tools/perf/util/parse-events.c
index 9d5f1ca..5a72586 100644
--- 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" },
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-06-12 11:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-12 3:17 [PATCH -tip] perf_counter tools: Remove one L1-data alias Yong Wang
2009-06-12 11:49 ` [tip:perfcounters/core] " tip-bot for Yong Wang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome