diff options
author | Namhyung Kim <namhyung@kernel.org> | 2014-04-22 14:49:31 +0900 |
---|---|---|
committer | Jiri Olsa <jolsa@kernel.org> | 2014-04-24 16:34:09 +0200 |
commit | 268397cb2a47ce6e1c0298d9de1762143867f9d3 (patch) | |
tree | b39dca9aa7407b1ec49bf81467e0d90ea4ba0d73 /tools/perf/builtin-sched.c | |
parent | 112f761fc0b43def377af889f8cd242df6af9e34 (diff) | |
download | op-kernel-dev-268397cb2a47ce6e1c0298d9de1762143867f9d3.zip op-kernel-dev-268397cb2a47ce6e1c0298d9de1762143867f9d3.tar.gz |
perf top/tui: Update nr_entries properly after a filter is applied
The hist_browser__reset() is only called right after a filter is
applied so it needs to udpate browser->nr_entries properly. We cannot
use hists->nr_non_filtered_entreis directly since it's possible that
such entries are also filtered out by minimum percentage limit.
In addition when a filter is used for perf top, hist browser's
nr_entries field was not updated after applying the filter. But it
needs to be updated as new samples are coming.
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/1398327843-31845-11-git-send-email-namhyung@kernel.org
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Diffstat (limited to 'tools/perf/builtin-sched.c')
0 files changed, 0 insertions, 0 deletions