]> git.baikalelectronics.ru Git - kernel.git/commit
perf hists/tui: Count callchain rows separately
authorNamhyung Kim <namhyung@kernel.org>
Tue, 22 Apr 2014 06:56:17 +0000 (15:56 +0900)
committerJiri Olsa <jolsa@kernel.org>
Thu, 24 Apr 2014 14:34:27 +0000 (16:34 +0200)
commit5140180fa5b8c4e4154622b6fc414e09e1ed443f
treef5f9b8a43992a7fa6c77bb62ec0fcf41236a40d6
parenta8a18d3aad34462cf410c2db75d122358e53aac2
perf hists/tui: Count callchain rows separately

When TUI hist browser expands/collapses callchains it accounted number
of callchain nodes into total entries to show.  However this code
ignores filtering so that it can make the cursor go to out of screen.

Thanks to Jiri Olsa for pointing out a bug (and a fix) in the code.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/1398327843-31845-12-git-send-email-namhyung@kernel.org
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
tools/perf/ui/browsers/hists.c