Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 275105
b: refs/heads/master
c: 7928631
h: refs/heads/master
i:
  275103: c9b5e78
v: v3
  • Loading branch information
Arnaldo Carvalho de Melo committed Oct 27, 2011
1 parent 11f7c39 commit c8890a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a9072bc0b0af991e274b699f17bc50cf201e377b
refs/heads/master: 7928631a66c884b18f827fbd1b63cd80198f004b
3 changes: 1 addition & 2 deletions trunk/tools/perf/util/hist.c
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,6 @@ static void __hists__collapse_resort(struct hists *hists, bool threaded)

root = hists__get_rotate_entries_in(hists);
next = rb_first(root);
hists->stats.total_period = 0;

while (next) {
n = rb_entry(next, struct hist_entry, rb_node_in);
Expand All @@ -379,7 +378,6 @@ static void __hists__collapse_resort(struct hists *hists, bool threaded)
* been set by, say, the hist_browser.
*/
hists__apply_filters(hists, n);
hists__inc_nr_entries(hists, n);
}
}
}
Expand Down Expand Up @@ -442,6 +440,7 @@ static void __hists__output_resort(struct hists *hists, bool threaded)
hists->entries = RB_ROOT;

hists->nr_entries = 0;
hists->stats.total_period = 0;
hists__reset_col_len(hists);

while (next) {
Expand Down

0 comments on commit c8890a0

Please sign in to comment.