Skip to content

Commit b596e97

Browse files
Leo Yanacmel
authored andcommitted
perf c2c: Display the total numbers continuously
To view the statistics with "breakdown" mode, it's good to show the summary numbers for the total records, all stores and all loads, then the sequential conlumns can be used to break into more detailed items. To achieve this purpose, this patch displays the summary numbers for records/stores/loads continuously and places them before breakdown items, this can allow uses to easily read the summarized statistics. Signed-off-by: Leo Yan <leo.yan@linaro.org> Tested-by: Joe Mario <jmario@redhat.com> Acked-by: Jiri Olsa <jolsa@redhat.com> Link: https://lore.kernel.org/r/20201014050921.5591-2-leo.yan@linaro.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
1 parent f929938 commit b596e97

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tools/perf/builtin-c2c.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2846,13 +2846,13 @@ static int perf_c2c__report(int argc, const char **argv)
28462846
"dcacheline,"
28472847
"dcacheline_node,"
28482848
"dcacheline_count,"
2849-
"tot_recs,"
28502849
"percent_hitm,"
28512850
"tot_hitm,lcl_hitm,rmt_hitm,"
2851+
"tot_recs,"
2852+
"tot_loads,"
28522853
"stores,stores_l1hit,stores_l1miss,"
28532854
"dram_lcl,dram_rmt,"
28542855
"ld_llcmiss,"
2855-
"tot_loads,"
28562856
"ld_fbhit,ld_l1hit,ld_l2hit,"
28572857
"ld_lclhit,ld_rmthit",
28582858
c2c.display == DISPLAY_TOT ? "tot_hitm" :

0 commit comments

Comments
 (0)