diff options
author | Ingo Molnar <mingo@elte.hu> | 2010-06-04 10:55:19 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-06-04 10:55:19 -0400 |
commit | 58cc1a9e3b11a84e66c4d3a4cc9073f2cb0ecabb (patch) | |
tree | 59a30eac488c38dd8b34173df9f2533fd616c9f3 | |
parent | c6df8d5ab87a246942d138321e1721edbb69f6e1 (diff) | |
parent | e7dadc0089da730a1ba2638a1a03533be0c67f11 (diff) |
Merge branch 'perf/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux-2.6 into perf/urgent
-rw-r--r-- | tools/perf/util/symbol.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tools/perf/util/symbol.c b/tools/perf/util/symbol.c index 7fd6b151feb5..b63e5713849f 100644 --- a/tools/perf/util/symbol.c +++ b/tools/perf/util/symbol.c | |||
@@ -1745,7 +1745,12 @@ static int dso__load_kernel_sym(struct dso *self, struct map *map, | |||
1745 | if (symbol_conf.vmlinux_name != NULL) { | 1745 | if (symbol_conf.vmlinux_name != NULL) { |
1746 | err = dso__load_vmlinux(self, map, | 1746 | err = dso__load_vmlinux(self, map, |
1747 | symbol_conf.vmlinux_name, filter); | 1747 | symbol_conf.vmlinux_name, filter); |
1748 | goto out_try_fixup; | 1748 | if (err > 0) { |
1749 | dso__set_long_name(self, | ||
1750 | strdup(symbol_conf.vmlinux_name)); | ||
1751 | goto out_fixup; | ||
1752 | } | ||
1753 | return err; | ||
1749 | } | 1754 | } |
1750 | 1755 | ||
1751 | if (vmlinux_path != NULL) { | 1756 | if (vmlinux_path != NULL) { |
@@ -1806,7 +1811,6 @@ do_kallsyms: | |||
1806 | pr_debug("Using %s for symbols\n", kallsyms_filename); | 1811 | pr_debug("Using %s for symbols\n", kallsyms_filename); |
1807 | free(kallsyms_allocated_filename); | 1812 | free(kallsyms_allocated_filename); |
1808 | 1813 | ||
1809 | out_try_fixup: | ||
1810 | if (err > 0) { | 1814 | if (err > 0) { |
1811 | out_fixup: | 1815 | out_fixup: |
1812 | if (kallsyms_filename != NULL) | 1816 | if (kallsyms_filename != NULL) |