Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 147670
b: refs/heads/master
c: 8edd428
h: refs/heads/master
v: v3
  • Loading branch information
Ingo Molnar committed Jun 5, 2009
1 parent 5cfcf86 commit 632b400
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 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: fc54db5105d01ad691a7d747064c7890e17f936c
refs/heads/master: 8edd4286f99f78fe07fe9196e69d5643da86cada
16 changes: 9 additions & 7 deletions trunk/Documentation/perf_counter/builtin-report.c
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,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 @@ -569,10 +569,12 @@ sort__sym_print(FILE *fp, struct hist_entry *self)
if (verbose)
ret += fprintf(fp, "%#018llx ", (__u64)self->ip);

if (self->sym)
ret += fprintf(fp, "%s", self->sym->name);
else
if (self->sym) {
ret += fprintf(fp, "[%c] %s",
self->dso == kernel_dso ? 'k' : '.', self->sym->name);
} else {
ret += fprintf(fp, "%#016llx", (__u64)self->ip);
}

return ret;
}
Expand All @@ -586,9 +588,9 @@ static struct sort_entry sort_sym = {
static int sort__need_collapse = 0;

struct sort_dimension {
char *name;
struct sort_entry *entry;
int taken;
char *name;
struct sort_entry *entry;
int taken;
};

static struct sort_dimension sort_dimensions[] = {
Expand Down

0 comments on commit 632b400

Please sign in to comment.