perf hists/tui: Count callchain rows separately
commitc3b789527b236873557f53740ceac47747e0e1cb
authorNamhyung Kim <namhyung@kernel.org>
Tue, 22 Apr 2014 06:56:17 +0000 (22 15:56 +0900)
committerJiri Olsa <jolsa@kernel.org>
Thu, 24 Apr 2014 14:34:27 +0000 (24 16:34 +0200)
treef5f9b8a43992a7fa6c77bb62ec0fcf41236a40d6
parent268397cb2a47ce6e1c0298d9de1762143867f9d3
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