public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [patch] perf tools: fix dc8d6ab typo prohibiting perf top symbol annotation
@ 2010-01-22  6:39 Mike Galbraith
  2010-01-22 11:22 ` Arnaldo Carvalho de Melo
  0 siblings, 1 reply; 4+ messages in thread
From: Mike Galbraith @ 2010-01-22  6:39 UTC (permalink / raw)
  To: LKML; +Cc: Arnaldo Carvalho de Melo, Peter Zijlstra, Ingo Molnar


perf tools: fix dc8d6ab typo prohibiting perf top symbol annotation

Signed-off-by: Mike Galbraith <efault@gmx.de>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
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]"));



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-01-22 14:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-22  6:39 [patch] perf tools: fix dc8d6ab typo prohibiting perf top symbol annotation Mike Galbraith
2010-01-22 11:22 ` Arnaldo Carvalho de Melo
2010-01-22 11:45   ` Arnaldo Carvalho de Melo
2010-01-22 14:13     ` Mike Galbraith

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox