From 573fc776b2a4cce41faee6b38a1158e09e099b63 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Wed, 1 Jul 2009 11:17:20 +0200 Subject: [PATCH] --- yaml --- r: 155187 b: refs/heads/master c: 88a69dfbc6ab1e3b51bba8c9103055e21089ebb9 h: refs/heads/master i: 155185: 605492387b4829e376ef3da710f4e7f94cb30851 155183: 65b2b53f9be4fd94f8711282ab26eb54690f736a v: v3 --- [refs] | 2 +- trunk/tools/perf/builtin-report.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index c2aca4f5e62d..c43ea2f8e30d 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 61c45981ddbd718136d49464f00d2f11938aaa6e +refs/heads/master: 88a69dfbc6ab1e3b51bba8c9103055e21089ebb9 diff --git a/trunk/tools/perf/builtin-report.c b/trunk/tools/perf/builtin-report.c index 197793051fa5..7d2b49adcdc5 100644 --- a/trunk/tools/perf/builtin-report.c +++ b/trunk/tools/perf/builtin-report.c @@ -964,6 +964,9 @@ resolve_callchain(struct thread *thread, struct map *map, } switch (context) { + case PERF_CONTEXT_HV: + dso = hypervisor_dso; + break; case PERF_CONTEXT_KERNEL: dso = kernel_dso; break; @@ -1012,9 +1015,6 @@ hist_entry__add(struct thread *thread, struct map *map, struct dso *dso, }; int cmp; - case PERF_CONTEXT_HV: - dso = hypervisor_dso; - break; if ((sort__has_parent || callchain) && chain) syms = resolve_callchain(thread, map, chain, &entry);