Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 191283
b: refs/heads/master
c: 9890948
h: refs/heads/master
i:
  191281: e6041c6
  191279: 7c52e8e
v: v3
  • Loading branch information
Arnaldo Carvalho de Melo committed May 5, 2010
1 parent 00045c2 commit dc2cd1c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c4f3b5a2d70eae4abb8bcaaf8dc3f067ff1714e8
refs/heads/master: 9890948d857c2120c234b0ca91a80416e8f747fb
6 changes: 4 additions & 2 deletions trunk/tools/perf/util/event.c
Original file line number Diff line number Diff line change
Expand Up @@ -626,8 +626,10 @@ static void dso__calc_col_width(struct dso *self)
if (!symbol_conf.col_width_list_str && !symbol_conf.field_sep &&
(!symbol_conf.dso_list ||
strlist__has_entry(symbol_conf.dso_list, self->name))) {
unsigned int slen = strlen(self->name);
if (slen > dsos__col_width)
u16 slen = self->short_name_len;
if (verbose)
slen = self->long_name_len;
if (dsos__col_width < slen)
dsos__col_width = slen;
}

Expand Down

0 comments on commit dc2cd1c

Please sign in to comment.