Home
last modified time | relevance | path

Searched hist:ae2cb1ac60758e99cec15e9edd68e0d22bfd310e (Results 1 – 1 of 1) sorted by relevance

/linux/tools/perf/util/
H A Dprobe-event.cdiff ae2cb1ac60758e99cec15e9edd68e0d22bfd310e Wed May 06 14:46:40 CEST 2015 Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> perf probe: Fix to close probe_events file in error

Fix perf-probe to close probe_events file if it failed to get existing
probe's name. This also fix the return error code to -ENOMEM.

Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: hemant@linux.vnet.ibm.com
Link: http://lkml.kernel.org/r/20150506124640.4961.26062.stgit@localhost.localdomain
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>