Skip to content

Commit 104268a

Browse files
committed
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 <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[email protected]> Link: http://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent 8866056 commit 104268a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tools/perf/builtin-top.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,6 @@ static void perf_top__sort_new_samples(void *arg)
564564
hists__decay_entries_threaded(&t->sym_evsel->hists,
565565
top.hide_user_symbols,
566566
top.hide_kernel_symbols);
567-
hists__output_recalc_col_len(&t->sym_evsel->hists, winsize.ws_row - 3);
568567
}
569568

570569
static void *display_thread_tui(void *arg __used)

0 commit comments

Comments
 (0)