perf ui/hist: Add support for event group view
[deliverable/linux.git] / tools / perf / ui / stdio / hist.c
index f9798298e3e06b66374f6517d21b36bcd13c2fbb..ff1f60cf442e164f6843031fe89d7a9f14d0c288 100644 (file)
@@ -3,6 +3,7 @@
 #include "../../util/util.h"
 #include "../../util/hist.h"
 #include "../../util/sort.h"
+#include "../../util/evsel.h"
 
 
 static size_t callchain__fprintf_left_margin(FILE *fp, int left_margin)
@@ -347,6 +348,7 @@ size_t hists__fprintf(struct hists *hists, bool show_header, int max_rows,
        struct perf_hpp dummy_hpp = {
                .buf    = bf,
                .size   = sizeof(bf),
+               .ptr    = hists_to_evsel(hists),
        };
        bool first = true;
 
This page took 0.024208 seconds and 5 git commands to generate.