perf probe: Fix to close dwarf when failing to analyze it
authorMasami Hiramatsu <mhiramat@redhat.com>
Fri, 2 Apr 2010 16:50:59 +0000 (12:50 -0400)
committerIngo Molnar <mingo@elte.hu>
Fri, 2 Apr 2010 17:35:44 +0000 (19:35 +0200)
commit75ec5a245c7763c397f31ec8964d0a46c54a7386
tree8d2e89135b95b34ab00ad98185b73d49a6a0c266
parent12e5a7ae475ccb2733d740ffb95d9ca0a18392da
perf probe: Fix to close dwarf when failing to analyze it

Fix to close libdw routine when failing to analyze it in
find_perf_probe_point().

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: <20100402165059.23551.95587.stgit@localhost6.localdomain6>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/util/probe-finder.c