]> 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)
commit4b8cad0a9877ad5262a27c148c222cf584ae7087
tree09914b5fc25a8d04fb32b895296474515e8d1969
parent02b91ccc522e414adeb2db84c8df382fe1344af2
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