Re: [PATCHv3] perf hists browser: Fix UI bug after fold/unfold

2015-03-12 Thread Arnaldo Carvalho de Melo
Em Thu, Mar 12, 2015 at 04:51:10PM +0900, Namhyung Kim escreveu: > On Thu, Mar 12, 2015 at 03:21:49PM +0800, He Kuang wrote: > > This patch recalculates hb->nr_callchain_rows to fix the bug. > > > > Signed-off-by: He Kuang > > Acked-by: Namhyung Kim Thanks, applied. - Arnaldo -- To unsubscrib

Re: [PATCHv3] perf hists browser: Fix UI bug after fold/unfold

2015-03-12 Thread Namhyung Kim
On Thu, Mar 12, 2015 at 03:21:49PM +0800, He Kuang wrote: > In perf hists browser, the fold/unfold stat of each hist entry is > recorded but hb->nr_callchain_rows loses its value after zoom out and > zoom in back. This causes a wrong row cursor range that restrict user to > move down anymore. > >

[PATCHv3] perf hists browser: Fix UI bug after fold/unfold

2015-03-12 Thread He Kuang
In perf hists browser, the fold/unfold stat of each hist entry is recorded but hb->nr_callchain_rows loses its value after zoom out and zoom in back. This causes a wrong row cursor range that restrict user to move down anymore. This bug can be reproduced as follows: $ perf record -g -e syscalls