Skip to content

Commit

Permalink
perf report: Tidy up reporting of symbols not found
Browse files Browse the repository at this point in the history
Always printing the level info about if it is in the kernel,
hypervisor or userspace as that is in the hist_entry.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
LKML-Reference: <1247325517-12272-1-git-send-email-acme@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Arnaldo Carvalho de Melo authored and Ingo Molnar committed Jul 11, 2009
1 parent 52d422d commit 60c1baf
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tools/perf/builtin-report.c
Original file line number Diff line number Diff line change
Expand Up @@ -705,10 +705,9 @@ sort__sym_print(FILE *fp, struct hist_entry *self, unsigned int width __used)
if (verbose)
ret += repsep_fprintf(fp, "%#018llx ", (u64)self->ip);

ret += repsep_fprintf(fp, "[%c] ", self->level);
if (self->sym) {
ret += repsep_fprintf(fp, "[%c] %s",
self->dso == kernel_dso ? 'k' :
self->dso == hypervisor_dso ? 'h' : '.', self->sym->name);
ret += repsep_fprintf(fp, "%s", self->sym->name);

if (self->sym->module)
ret += repsep_fprintf(fp, "\t[%s]",
Expand Down

0 comments on commit 60c1baf

Please sign in to comment.