[patch] perf tools: fix dc8d6ab typo prohibiting perf top symbolannotation
From: Mike Galbraith
Date: Fri Jan 22 2010 - 01:39:52 EST
perf tools: fix dc8d6ab typo prohibiting perf top symbol annotation
Signed-off-by: Mike Galbraith <efault@xxxxxx>
Cc: Ingo Molnar <mingo@xxxxxxx>
Cc: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
Cc: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
LKML-Reference: <new-submission>
diff --git a/tools/perf/util/symbol.c b/tools/perf/util/symbol.c
index 6f30fe1..af2e224 100644
--- a/tools/perf/util/symbol.c
+++ b/tools/perf/util/symbol.c
@@ -1669,7 +1669,7 @@ do_kallsyms:
free(kallsyms_allocated_filename);
out_try_fixup:
- if (err > 0) {
+ if (err <= 0) {
out_fixup:
if (kallsyms_filename == NULL)
dso__set_long_name(self, strdup("[kernel.kallsyms]"));
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/