diff options
author | Namhyung Kim <[email protected]> | 2016-10-07 14:04:12 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-10-13 11:10:14 -0300 |
commit | c611152373e84a7677cd7d496e849de4debdab66 (patch) | |
tree | eb4b66a9adf097b6486f1cf663b8b90adf255ded /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | c68306ce20ad03ce655a367fc33ad06e12bb87a6 (diff) |
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 <[email protected]>
Signed-off-by: Namhyung Kim <[email protected]>
Tested-by: Arnaldo Carvalho de Melo <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Fixes: f5b763feebe9 ("perf hists browser: Count number of hierarchy entries")
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions