perf report: Tidy up reporting of symbols not found

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>
This commit is contained in:
Arnaldo Carvalho de Melo 2009-07-11 12:18:33 -03:00 committed by Ingo Molnar
parent 52d422de22
commit 60c1baf124
1 changed files with 2 additions and 3 deletions

View File

@ -705,10 +705,9 @@ sort__sym_print(FILE *fp, struct hist_entry *self, unsigned int width __used)
if (verbose) if (verbose)
ret += repsep_fprintf(fp, "%#018llx ", (u64)self->ip); ret += repsep_fprintf(fp, "%#018llx ", (u64)self->ip);
ret += repsep_fprintf(fp, "[%c] ", self->level);
if (self->sym) { if (self->sym) {
ret += repsep_fprintf(fp, "[%c] %s", ret += repsep_fprintf(fp, "%s", self->sym->name);
self->dso == kernel_dso ? 'k' :
self->dso == hypervisor_dso ? 'h' : '.', self->sym->name);
if (self->sym->module) if (self->sym->module)
ret += repsep_fprintf(fp, "\t[%s]", ret += repsep_fprintf(fp, "\t[%s]",