perf annotate browser: Align jump labels
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 19 Apr 2012 16:15:24 +0000 (13:15 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 19 Apr 2012 16:15:24 +0000 (13:15 -0300)
commit61e04b332e9417720c331eb39c96a4ccb1aa0460
treeb9968045de00bef1a6e8770a1d2053e1509a42be
parentb793a40185b246c2690e06c6d86d12c35f24ab4c
perf annotate browser: Align jump labels

Find out at browser startup the max width and use it when rendering jump
labels on the screen.

Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@gmail.com>
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-7dxjiwqb77wz6f5lc05e0i0x@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/ui/browsers/annotate.c
tools/perf/util/util.c
tools/perf/util/util.h