perf_counter tools: Remove one L1-data alias

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Friday, June 12, 2009 - 2:02 pm

Gitweb:     http://git.kernel.org/linus/faafec1e61e61d350248af2a7e5f047606adab6e
Commit:     faafec1e61e61d350248af2a7e5f047606adab6e
Parent:     8ebf975608aaebd7feb33d77f07ba21a6380e086
Author:     Yong Wang <yong.y.wang@linux.intel.com>
AuthorDate: Fri Jun 12 11:17:06 2009 +0800
Committer:  Ingo Molnar <mingo@elte.hu>
CommitDate: Fri Jun 12 13:45:09 2009 +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"				},
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
perf_counter tools: Remove one L1-data alias, Linux Kernel Mailing ..., (Fri Jun 12, 2:02 pm)