Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 209245
b: refs/heads/master
c: fb89941
h: refs/heads/master
i:
  209243: b225444
v: v3
  • Loading branch information
Arnaldo Carvalho de Melo committed Aug 5, 2010
1 parent b14feb9 commit 353e391
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: 903cce6eb9117550755de9bf92f3b48367b7dfe0
refs/heads/master: fb89941ea761f53201959cc217a2c73f6fe13855
6 changes: 4 additions & 2 deletions trunk/tools/perf/util/sort.c
Original file line number Diff line number Diff line change
Expand Up @@ -196,15 +196,17 @@ static int hist_entry__sym_snprintf(struct hist_entry *self, char *bf,

if (verbose) {
char o = self->ms.map ? dso__symtab_origin(self->ms.map->dso) : '!';
ret += repsep_snprintf(bf, size, "%#018llx %c ", self->ip, o);
ret += repsep_snprintf(bf, size, "%*Lx %c ",
BITS_PER_LONG / 4, self->ip, o);
}

ret += repsep_snprintf(bf + ret, size - ret, "[%c] ", self->level);
if (self->ms.sym)
ret += repsep_snprintf(bf + ret, size - ret, "%s",
self->ms.sym->name);
else
ret += repsep_snprintf(bf + ret, size - ret, "%#016llx", self->ip);
ret += repsep_snprintf(bf + ret, size - ret, "%*Lx",
BITS_PER_LONG / 4, self->ip);

return ret;
}
Expand Down

0 comments on commit 353e391

Please sign in to comment.