diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2011-11-02 10:46:18 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2011-11-02 10:54:48 -0400 |
commit | 104268a335d8aeb4293301e26a7bfad964ddc1ca (patch) | |
tree | aab4520993bed3652139e697dddc3c9e69107921 /tools/perf/builtin-top.c | |
parent | 886605636e656afeb6fad5e83dbf36967f65cfa5 (diff) |
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>
Diffstat (limited to 'tools/perf/builtin-top.c')
-rw-r--r-- | tools/perf/builtin-top.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/perf/builtin-top.c b/tools/perf/builtin-top.c index 8577bfeb087a..a13f8870d94c 100644 --- a/tools/perf/builtin-top.c +++ b/tools/perf/builtin-top.c | |||
@@ -564,7 +564,6 @@ static void perf_top__sort_new_samples(void *arg) | |||
564 | hists__decay_entries_threaded(&t->sym_evsel->hists, | 564 | hists__decay_entries_threaded(&t->sym_evsel->hists, |
565 | top.hide_user_symbols, | 565 | top.hide_user_symbols, |
566 | top.hide_kernel_symbols); | 566 | top.hide_kernel_symbols); |
567 | hists__output_recalc_col_len(&t->sym_evsel->hists, winsize.ws_row - 3); | ||
568 | } | 567 | } |
569 | 568 | ||
570 | static void *display_thread_tui(void *arg __used) | 569 | static void *display_thread_tui(void *arg __used) |