perf c2c: Change header from "LLC Load Hitm" to "Load Hitm"
[linux-2.6-microblaze.git] / tools / perf / builtin-c2c.c
index 57bb6cc..93f2d6c 100644 (file)
@@ -1328,7 +1328,7 @@ static struct c2c_dimension dim_iaddr = {
 };
 
 static struct c2c_dimension dim_tot_hitm = {
-       .header         = HEADER_SPAN("----- LLC Load Hitm -----", "Total", 2),
+       .header         = HEADER_SPAN("------- Load Hitm -------", "Total", 2),
        .name           = "tot_hitm",
        .cmp            = tot_hitm_cmp,
        .entry          = tot_hitm_entry,
@@ -1367,16 +1367,16 @@ static struct c2c_dimension dim_cl_lcl_hitm = {
        .width          = 7,
 };
 
-static struct c2c_dimension dim_stores = {
-       .header         = HEADER_SPAN("---- Store Reference ----", "Total", 2),
-       .name           = "stores",
+static struct c2c_dimension dim_tot_stores = {
+       .header         = HEADER_BOTH("Total", "Stores"),
+       .name           = "tot_stores",
        .cmp            = store_cmp,
        .entry          = store_entry,
        .width          = 7,
 };
 
 static struct c2c_dimension dim_stores_l1hit = {
-       .header         = HEADER_SPAN_LOW("L1Hit"),
+       .header         = HEADER_SPAN("---- Stores ----", "L1Hit", 1),
        .name           = "stores_l1hit",
        .cmp            = st_l1hit_cmp,
        .entry          = st_l1hit_entry,
@@ -1648,7 +1648,7 @@ static struct c2c_dimension *dimensions[] = {
        &dim_rmt_hitm,
        &dim_cl_lcl_hitm,
        &dim_cl_rmt_hitm,
-       &dim_stores,
+       &dim_tot_stores,
        &dim_stores_l1hit,
        &dim_stores_l1miss,
        &dim_cl_stores_l1hit,
@@ -2846,15 +2846,16 @@ static int perf_c2c__report(int argc, const char **argv)
                        "dcacheline,"
                        "dcacheline_node,"
                        "dcacheline_count,"
-                       "tot_recs,"
                        "percent_hitm,"
                        "tot_hitm,lcl_hitm,rmt_hitm,"
-                       "stores,stores_l1hit,stores_l1miss,"
-                       "dram_lcl,dram_rmt,"
-                       "ld_llcmiss,"
+                       "tot_recs,"
                        "tot_loads,"
+                       "tot_stores,"
+                       "stores_l1hit,stores_l1miss,"
                        "ld_fbhit,ld_l1hit,ld_l2hit,"
-                       "ld_lclhit,ld_rmthit",
+                       "ld_lclhit,ld_rmthit,"
+                       "ld_llcmiss,"
+                       "dram_lcl,dram_rmt",
                        c2c.display == DISPLAY_TOT ? "tot_hitm" :
                        c2c.display == DISPLAY_LCL ? "lcl_hitm" : "rmt_hitm"
                        );