perf probe: Fix to exit callback soon after finding too many probe points
authorMasami Hiramatsu <mhiramat@redhat.com>
Wed, 21 Apr 2010 19:56:32 +0000 (15:56 -0400)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 26 Apr 2010 18:33:08 +0000 (15:33 -0300)
commit5d1ee0413c8e2e0aa48510b1edfb3c4d2d43455b
treebd0dbf0fd4ac13b8b5bc0f5504e658861a7fbdc2
parent15eca306ec95e164d05457f9f27c722f69af6d18
perf probe: Fix to exit callback soon after finding too many probe points

Fix to exit callback soon after finding too many probe points.
Don't try to continue searching because it already failed.

Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>
Reported-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
LKML-Reference: <20100421195632.24664.42598.stgit@localhost6.localdomain6>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/probe-finder.c