perf hist: Introduce routine to measure lenght of formatted entry
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 21 Jul 2010 20:58:25 +0000 (17:58 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 27 Jul 2010 14:24:31 +0000 (11:24 -0300)
commit06daaaba7c211ca6a8227b9a54dbc86dd837f034
treea05215f48fd55b8afe4ada29fb4de623372845c8
parentb61b55ed995fd2765cd4ec0b22f0348dee272070
perf hist: Introduce routine to measure lenght of formatted entry

Will be used to figure out the window width needed in the new tree
widget.

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>
tools/perf/util/hist.c
tools/perf/util/hist.h