Patch "perf top: Fix refreshing hierarchy entries on TUI" has been added to the 4.8-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
perf top: Fix refreshing hierarchy entries on TUI
to the 4.8-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
perf-top-fix-refreshing-hierarchy-entries-on-tui.patch
and it can be found in the queue-4.8 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
c611152373e84a7677cd7d496e849de4debdab66Mon Sep 17 00:00:00 2001
From: Namhyung Kim <[email protected]>
Date: Fri, 7 Oct 2016 14:04:12 +0900
Subject: perf top: Fix refreshing hierarchy entries on TUI
From: Namhyung Kim <[email protected]>
commit c611152373e84a7677cd7d496e849de4debdab66 upstream.
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.
--- tools/perf/ui/browsers/hists.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
tools/perf/ui/browsers/hists.c +2 -1
@@ -595,7 +595,8 @@ int hist_browser__run(struct hist_browseu64 nr_entries; hbt->timer (hbt->arg); -if (hist_browser__has_filter (browser)) +if (hist_browser__has_filter (browser) || + symbol_conf.report_hierarchy)hist_browser__update_nr_entries (browser); nr_entries =hist_browser__nr_entries (browser);
Patches currently in stable-queue which might be from [email protected] are
queue-4.8/perf-top-fix-refreshing-hierarchy-entries-on-tui.patch