]> git.karo-electronics.de Git - linux-beck.git/commit
perf probe: Fix not to return non-matched file
authorMasami Hiramatsu <mhiramat@redhat.com>
Fri, 2 Apr 2010 16:50:45 +0000 (12:50 -0400)
committerIngo Molnar <mingo@elte.hu>
Fri, 2 Apr 2010 17:35:42 +0000 (19:35 +0200)
commitc9e385826d4f1ca5a72005ab8503598f791a8dc0
tree86dc9671666811915b007390f36cec69fba18a9c
parent085ea739adf107b5a5d131f3625e517ff4a5181e
perf probe: Fix not to return non-matched file

Fix cu_find_realpath() not to return the last file path
if that is not matched to input pattern.

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