aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/perf/util/hist.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/hist.c b/tools/perf/util/hist.c
index 95f5ab707b74..d9a6d35eda17 100644
--- a/tools/perf/util/hist.c
+++ b/tools/perf/util/hist.c
@@ -1171,6 +1171,7 @@ static void hists__remove_entry_filter(struct hists *hists, struct hist_entry *h
1171 /* force fold unfiltered entry for simplicity */ 1171 /* force fold unfiltered entry for simplicity */
1172 h->ms.unfolded = false; 1172 h->ms.unfolded = false;
1173 h->row_offset = 0; 1173 h->row_offset = 0;
1174 h->nr_rows = 0;
1174 1175
1175 hists->stats.nr_non_filtered_samples += h->stat.nr_events; 1176 hists->stats.nr_non_filtered_samples += h->stat.nr_events;
1176 1177