perf_counter tools: Add alias for 'l1d' and 'l1i'
[linux-2.6-block.git] / tools / perf / util / parse-events.c
index 430f06083201adbad63b77c83928eb5d49ceec9f..4d042f104cdcf44539478f66f43e1cf5ea54520a 100644 (file)
@@ -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",                      },