Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 104268a3 authored by Arnaldo Carvalho de Melo's avatar Arnaldo Carvalho de Melo
Browse files

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: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 88660563
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -564,7 +564,6 @@ static void perf_top__sort_new_samples(void *arg)
	hists__decay_entries_threaded(&t->sym_evsel->hists,
	hists__decay_entries_threaded(&t->sym_evsel->hists,
				      top.hide_user_symbols,
				      top.hide_user_symbols,
				      top.hide_kernel_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)
static void *display_thread_tui(void *arg __used)