perf top tui: Don't recalc column widths considering just the first page
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 2 Nov 2011 14:46:18 +0000 (12:46 -0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 2 Nov 2011 14:54:48 +0000 (12:54 -0200)
commit104268a335d8aeb4293301e26a7bfad964ddc1ca
treeaab4520993bed3652139e697dddc3c9e69107921
parent886605636e656afeb6fad5e83dbf36967f65cfa5
perf top tui: Don't recalc column widths considering just the first page

It makes sense for the stdio where we can't navigate to the other pages.

On the TUI it breaks as soon as we navigate to other pages that have,
DSOs with longer names than the ones on the first page.

Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-zvqfp18mw229agb43cikgb0k@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-top.c