diff options
| author | Masami Hiramatsu <[email protected]> | 2015-05-06 21:46:40 +0900 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2015-05-08 16:05:01 -0300 |
| commit | ae2cb1ac60758e99cec15e9edd68e0d22bfd310e (patch) | |
| tree | 342c779799f7ec15dba10bc7f074a14f7e688ea5 /tools/perf/scripts/python/bin | |
| parent | cb307113746b4d184155d2c412e8069aeaa60d42 (diff) | |
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 <[email protected]>
Cc: Ananth N Mavinakayanahalli <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions