projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
perf hists: Move sort__need_collapse into struct perf_hpp_list
[cascardo/linux.git]
/
tools
/
perf
/
tests
/
hists_cumulate.c
diff --git
a/tools/perf/tests/hists_cumulate.c
b/tools/perf/tests/hists_cumulate.c
index
4a2bbff
..
a9e3db3
100644
(file)
--- a/
tools/perf/tests/hists_cumulate.c
+++ b/
tools/perf/tests/hists_cumulate.c
@@
-126,7
+126,7
@@
static void del_hist_entries(struct hists *hists)
struct rb_root *root_out;
struct rb_node *node;
- if (
sort__need_collapse
)
+ if (
hists__has(hists, need_collapse)
)
root_in = &hists->entries_collapsed;
else
root_in = hists->entries_in;