aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2015-11-28 02:32:39 +0900
committerArnaldo Carvalho de Melo <[email protected]>2015-11-27 21:53:33 -0300
commit039050482573e168690d365b8ea1d4f599ebbbd8 (patch)
treee29e14a52b9e5f633489770e18a659b8304fbb38 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
parente72655d97d24fff559b4ab59de791c3741a74c8c (diff)
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 <[email protected]> Tested-by: Arnaldo Carvalho de Melo <[email protected]> Cc: David Ahern <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions