]> git.baikalelectronics.ru Git - kernel.git/commit
perf report: Make dso__calc_col_width agree with hist_entry__dso_snprintf
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 4 May 2010 23:58:51 +0000 (20:58 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 5 May 2010 12:49:48 +0000 (09:49 -0300)
commit1cd2ab67519e3834bb02534b0494efd6035e3cbf
treeb3ac857ff1b3dc2248db23eb93b8a14e5e0f2d4d
parent2019e1a99b6f7863d24dfb3437ee89e5368c5a61
perf report: Make dso__calc_col_width agree with hist_entry__dso_snprintf

The first was always using the ->long_name, while the later used
->short_name if verbose was not set, resulting in the dso column to be
much wider than needed most of the time.

Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Tom Zanussi <tzanussi@gmail.com>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/event.c