aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2009-07-11 11:18:33 -0400
committerIngo Molnar <mingo@elte.hu>2009-07-11 13:20:25 -0400
commit60c1baf1248e00d423604f018c8af1cf750ad885 (patch)
treea6fa79b87d382f627e08fcabaa75edf8f1ec9b60
parent52d422de22b26d96bbdfbc605eb31c2994df6d0b (diff)
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>
-rw-r--r--tools/perf/builtin-report.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c
index 740da43f313e..617f4cb7f163 100644
--- a/tools/perf/builtin-report.c
+++ b/tools/perf/builtin-report.c
@@ -705,10 +705,9 @@ sort__sym_print(FILE *fp, struct hist_entry *self, unsigned int width __used)
705 if (verbose) 705 if (verbose)
706 ret += repsep_fprintf(fp, "%#018llx ", (u64)self->ip); 706 ret += repsep_fprintf(fp, "%#018llx ", (u64)self->ip);
707 707
708 ret += repsep_fprintf(fp, "[%c] ", self->level);
708 if (self->sym) { 709 if (self->sym) {
709 ret += repsep_fprintf(fp, "[%c] %s", 710 ret += repsep_fprintf(fp, "%s", self->sym->name);
710 self->dso == kernel_dso ? 'k' :
711 self->dso == hypervisor_dso ? 'h' : '.', self->sym->name);
712 711
713 if (self->sym->module) 712 if (self->sym->module)
714 ret += repsep_fprintf(fp, "\t[%s]", 713 ret += repsep_fprintf(fp, "\t[%s]",