]> Git Repo - linux.git/commitdiff
perf top tui: Don't recalc column widths considering just the first page
authorArnaldo Carvalho de Melo <[email protected]>
Wed, 2 Nov 2011 14:46:18 +0000 (12:46 -0200)
committerArnaldo Carvalho de Melo <[email protected]>
Wed, 2 Nov 2011 14:54:48 +0000 (12:54 -0200)
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]>
tools/perf/builtin-top.c

index 8577bfeb087a30f6ab4e723a962266e1c3382dcd..a13f8870d94c50fc38917ccea5205653e41eac82 100644 (file)
@@ -564,7 +564,6 @@ static void perf_top__sort_new_samples(void *arg)
        hists__decay_entries_threaded(&t->sym_evsel->hists,
                                      top.hide_user_symbols,
                                      top.hide_kernel_symbols);
-       hists__output_recalc_col_len(&t->sym_evsel->hists, winsize.ws_row - 3);
 }
 
 static void *display_thread_tui(void *arg __used)
This page took 0.055886 seconds and 4 git commands to generate.