perf hists: Add missing update on filtered stats in hists__decay_entries()
authorNamhyung Kim <namhyung@kernel.org>
Tue, 22 Apr 2014 04:44:23 +0000 (13:44 +0900)
committerJiri Olsa <jolsa@kernel.org>
Thu, 24 Apr 2014 14:32:44 +0000 (16:32 +0200)
commit3186b6815d49b5e0defbd884223da3778edb59fc
tree09914b5fc25a8d04fb32b895296474515e8d1969
parent820bc81f4cdaac09a8f25040d3a20d86f3da292b
perf hists: Add missing update on filtered stats in hists__decay_entries()

When a filter is used for perf top, its hists->nr_non_filtered_entries
was not updated after it removed an entry in hists__decay_entries().
Also hists->stats.total_non_filtered_period was missed too.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/1398327843-31845-8-git-send-email-namhyung@kernel.org
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
tools/perf/util/hist.c