diff options
author | Namhyung Kim <namhyung@kernel.org> | 2015-11-27 18:32:39 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-11-28 01:53:33 +0100 |
commit | 039050482573e168690d365b8ea1d4f599ebbbd8 (patch) | |
tree | e29e14a52b9e5f633489770e18a659b8304fbb38 /crypto/pcbc.c | |
parent | perf hists: Do not skip elided fields when processing samples (diff) | |
download | linux-039050482573e168690d365b8ea1d4f599ebbbd8.tar.xz linux-039050482573e168690d365b8ea1d4f599ebbbd8.zip |
perf hists browser: Update nr entries regardless of min percent
When perf report on TUI was called with -S symbol filter, it should
update nr entries even if min_pcnt is 0. IIRC the reason was to update
nr entries after applying minimum percent threshold. But if symbol
filter was given on command line (with -S option), it should use
hists->nr_non_filtered_entries instead of hists->nr_entries.
So this patch fixes a bug of navigating hists browser that the cursor
goes beyond the number of entries when -S (or similar) option is used.
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1448645559-31167-3-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'crypto/pcbc.c')
0 files changed, 0 insertions, 0 deletions