|
@@ -2067,6 +2067,7 @@ void hist_browser__init(struct hist_browser *browser,
|
|
|
struct hists *hists)
|
|
|
{
|
|
|
struct perf_hpp_fmt *fmt;
|
|
|
+ struct perf_hpp_list_node *node;
|
|
|
|
|
|
browser->hists = hists;
|
|
|
browser->b.refresh = hist_browser__refresh;
|
|
@@ -2079,6 +2080,11 @@ void hist_browser__init(struct hist_browser *browser,
|
|
|
perf_hpp__reset_width(fmt, hists);
|
|
|
++browser->b.columns;
|
|
|
}
|
|
|
+ /* hierarchy entries have their own hpp list */
|
|
|
+ list_for_each_entry(node, &hists->hpp_formats, list) {
|
|
|
+ perf_hpp_list__for_each_format(&node->hpp, fmt)
|
|
|
+ perf_hpp__reset_width(fmt, hists);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
struct hist_browser *hist_browser__new(struct hists *hists)
|