Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 147649
b: refs/heads/master
c: 95ed6fd
h: refs/heads/master
i:
  147647: 0b0be43
v: v3
  • Loading branch information
Peter Zijlstra authored and Ingo Molnar committed Jun 4, 2009
1 parent 281c12a commit 3f709f5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 12 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: af794b94ae8a16fb4a9da6ce640c122efb44e2a0
refs/heads/master: 95ed6fd06e52bf850cd17524f0b36ed14300c10d
17 changes: 6 additions & 11 deletions trunk/Documentation/perf_counter/builtin-report.c
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ sort__comm_print(FILE *fp, struct hist_entry *self)
}

static struct sort_entry sort_comm = {
.header = " Command",
.header = " Command",
.cmp = sort__comm_cmp,
.collapse = sort__comm_collapse,
.print = sort__comm_print,
Expand Down Expand Up @@ -414,11 +414,11 @@ sort__dso_print(FILE *fp, struct hist_entry *self)
if (self->dso)
return fprintf(fp, " %-25s", self->dso->name);

return fprintf(fp, " %016llx", (__u64)self->ip);
return fprintf(fp, " %016llx ", (__u64)self->ip);
}

static struct sort_entry sort_dso = {
.header = " Shared Object ",
.header = " Shared Object ",
.cmp = sort__dso_cmp,
.print = sort__dso_print,
};
Expand Down Expand Up @@ -447,21 +447,16 @@ sort__sym_print(FILE *fp, struct hist_entry *self)
if (verbose)
ret += fprintf(fp, " %#018llx", (__u64)self->ip);

if (self->dso)
ret += fprintf(fp, " %s: ", self->dso->name);
else
ret += fprintf(fp, " %#016llx: ", (__u64)self->ip);

if (self->sym)
ret += fprintf(fp, "%s", self->sym->name);
ret += fprintf(fp, " %s", self->sym->name);
else
ret += fprintf(fp, "%#016llx", (__u64)self->ip);
ret += fprintf(fp, " %#016llx", (__u64)self->ip);

return ret;
}

static struct sort_entry sort_sym = {
.header = " Shared Object: Symbol",
.header = " Symbol",
.cmp = sort__sym_cmp,
.print = sort__sym_print,
};
Expand Down

0 comments on commit 3f709f5

Please sign in to comment.