perf probe: Fix to remove redundant close
authorMasami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Wed, 30 Mar 2011 09:25:47 +0000 (18:25 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 5 Apr 2011 18:35:16 +0000 (15:35 -0300)
commitf0c4801a17cb1a762bed39a6a9d5e5be33d8a340
tree3a3d7e446748c4367d21cbddb9ce31f509d4993c
parent7d21635ac5c78abe162fb3f56b37c30bcbfa019f
perf probe: Fix to remove redundant close

Since dwfl_end() closes given fd with dwfl, caller doesn't need to close its fd
when finishing process.

Cc: 2nddept-manager@sdl.hitachi.co.jp
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Lin Ming <ming.m.lin@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
LKML-Reference: <20110330092547.2132.93728.stgit@ltc236.sdl.hitachi.co.jp>
Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/probe-event.c
tools/perf/util/probe-finder.c