Add an aggregated statistics view of all samples within a perf.data file and display its call graphs in a bottom-up manner. For inspiration, have a look at heaptrack or VTune, which both have such a view.