linux/tools/perf/ui/browsers
Namhyung Kim c611152373 perf top: Fix refreshing hierarchy entries on TUI
Markus reported that 'perf top --hierarchy' cannot scroll down after
refresh.  This was because the number of entries are not updated when
hierarchy is enabled.

Unlike normal report view, hierarchy mode needs to keep its own entry
count since it can have non-leaf entries which can expand/collapse.

Reported-and-Tested-by: Markus Trippelsdorf <markus@trippelsdorf.de>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Fixes: f5b763feeb ("perf hists browser: Count number of hierarchy entries")
Link: http://lkml.kernel.org/r/20161007050412.3000-1-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2016-10-13 11:10:14 -03:00
..
annotate.c perf symbols: Remove symbol_filter_t machinery 2016-09-05 11:14:50 -03:00
Build perf build: Add slang objects building 2015-02-12 11:48:13 -03:00
header.c perf tools: Rename perf_session_env to perf_env 2015-08-28 14:53:55 -03:00
hists.c perf top: Fix refreshing hierarchy entries on TUI 2016-10-13 11:10:14 -03:00
hists.h perf hists browser: Introduce init() 2016-06-22 09:56:35 -03:00
map.c perf symbols: Remove symbol_filter_t machinery 2016-09-05 11:14:50 -03:00
map.h perf tools: Finish the removal of 'self' arguments 2013-11-05 15:32:36 -03:00
scripts.c perf ui browsers: Remove help messages about use of right and arrow keys 2015-10-12 13:56:50 -03:00