}
static struct sort_entry sort_comm = {
- .header = " Command",
+ .header = " Command",
.cmp = sort__comm_cmp,
.collapse = sort__comm_collapse,
.print = sort__comm_print,
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,
};
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,
};