]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb59328bd97b0ce5fa4119501356ab29f6c71085a
tree09914b5fc25a8d04fb32b895296474515e8d1969
parent373266856d18cf509ae161abfe7dc885e271017e
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