diff options
Diffstat (limited to 'tools/perf')
-rw-r--r-- | tools/perf/builtin-c2c.c | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/tools/perf/builtin-c2c.c b/tools/perf/builtin-c2c.c index 44a85679a704..c271261fcaf1 100644 --- a/tools/perf/builtin-c2c.c +++ b/tools/perf/builtin-c2c.c | |||
@@ -1637,6 +1637,23 @@ static int resort_cl_cb(struct hist_entry *he) | |||
1637 | c2c_hists = c2c_he->hists; | 1637 | c2c_hists = c2c_he->hists; |
1638 | 1638 | ||
1639 | if (c2c_hists) { | 1639 | if (c2c_hists) { |
1640 | c2c_hists__reinit(c2c_hists, | ||
1641 | "percent_rmt_hitm," | ||
1642 | "percent_lcl_hitm," | ||
1643 | "percent_stores_l1hit," | ||
1644 | "percent_stores_l1miss," | ||
1645 | "offset," | ||
1646 | "pid," | ||
1647 | "tid," | ||
1648 | "mean_rmt," | ||
1649 | "mean_lcl," | ||
1650 | "mean_load," | ||
1651 | "cpucnt," | ||
1652 | "symbol," | ||
1653 | "dso," | ||
1654 | "node", | ||
1655 | "offset,rmt_hitm,lcl_hitm"); | ||
1656 | |||
1640 | hists__collapse_resort(&c2c_hists->hists, NULL); | 1657 | hists__collapse_resort(&c2c_hists->hists, NULL); |
1641 | hists__output_resort_cb(&c2c_hists->hists, NULL, filter_cb); | 1658 | hists__output_resort_cb(&c2c_hists->hists, NULL, filter_cb); |
1642 | } | 1659 | } |
@@ -1768,6 +1785,20 @@ static int perf_c2c__report(int argc, const char **argv) | |||
1768 | goto out_session; | 1785 | goto out_session; |
1769 | } | 1786 | } |
1770 | 1787 | ||
1788 | c2c_hists__reinit(&c2c.hists, | ||
1789 | "dcacheline," | ||
1790 | "tot_recs," | ||
1791 | "percent_hitm," | ||
1792 | "tot_hitm,lcl_hitm,rmt_hitm," | ||
1793 | "stores,stores_l1hit,stores_l1miss," | ||
1794 | "dram_lcl,dram_rmt," | ||
1795 | "ld_llcmiss," | ||
1796 | "tot_loads," | ||
1797 | "ld_fbhit,ld_l1hit,ld_l2hit," | ||
1798 | "ld_lclhit,ld_rmthit", | ||
1799 | "rmt_hitm" | ||
1800 | ); | ||
1801 | |||
1771 | ui_progress__init(&prog, c2c.hists.hists.nr_entries, "Sorting..."); | 1802 | ui_progress__init(&prog, c2c.hists.hists.nr_entries, "Sorting..."); |
1772 | 1803 | ||
1773 | hists__collapse_resort(&c2c.hists.hists, NULL); | 1804 | hists__collapse_resort(&c2c.hists.hists, NULL); |