perf hists: Handle verbose in hists__sort_list_width
Otherwise entries will get chopped up on the window. Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> LKML-Reference: <new-submission> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>hifive-unleashed-5.1
parent
76ce93d0b6
commit
903cce6eb9
|
@ -876,6 +876,9 @@ unsigned int hists__sort_list_width(struct hists *self)
|
||||||
if (!se->elide)
|
if (!se->elide)
|
||||||
ret += 2 + hists__col_len(self, se->se_width_idx);
|
ret += 2 + hists__col_len(self, se->se_width_idx);
|
||||||
|
|
||||||
|
if (verbose) /* Addr + origin */
|
||||||
|
ret += 3 + BITS_PER_LONG / 4;
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue