Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 349883
b: refs/heads/master
c: c0d246b
h: refs/heads/master
i:
  349881: d9c513f
  349879: 08da13c
v: v3
  • Loading branch information
Jiri Olsa authored and Arnaldo Carvalho de Melo committed Dec 9, 2012
1 parent fb33d55 commit f82c24a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 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: 1240005e0d3a7e03c2fd05603fb01676e5a004f7
refs/heads/master: c0d246b85fc7d42688d7a5d999ea671777caf65b
6 changes: 5 additions & 1 deletion trunk/tools/perf/ui/hist.c
Original file line number Diff line number Diff line change
Expand Up @@ -472,11 +472,15 @@ int hist_entry__period_snprintf(struct perf_hpp *hpp, struct hist_entry *he,
return 0;

perf_hpp__for_each_format(fmt) {
/*
* If there's no field_sep, we still need
* to display initial ' '.
*/
if (!sep || !first) {
ret = scnprintf(hpp->buf, hpp->size, "%s", sep ?: " ");
advance_hpp(hpp, ret);
} else
first = false;
}

if (color && fmt->color)
ret = fmt->color(hpp, he);
Expand Down

0 comments on commit f82c24a

Please sign in to comment.