perf tools: No need for three rb_trees for sorting hist entries
[deliverable/linux.git] / tools / perf / builtin-report.c
index 3487224670a8779dab6525c6a4ccf336a0fd3d4e..9cbdcbc4cd5697408584c12809d839f66ed19b0d 100644 (file)
@@ -567,7 +567,7 @@ static size_t output__fprintf(FILE *fp, u64 total_samples)
        fprintf(fp, "#\n");
 
 print_entries:
-       for (nd = rb_first(&output_hists); nd; nd = rb_next(nd)) {
+       for (nd = rb_first(&hist); nd; nd = rb_next(nd)) {
                pos = rb_entry(nd, struct hist_entry, rb_node);
                ret += hist_entry__fprintf(fp, pos, total_samples);
        }
This page took 0.041205 seconds and 5 git commands to generate.