aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2016-08-12 21:44:56 +0000
committerArnaldo Carvalho de Melo <[email protected]>2016-08-15 20:06:19 +0000
commit0325862dc364d8af524bf2db53ef4360ed55b989 (patch)
tree4c307fc74ea114e1a97b78bb6365a6f61ca51e2f /tools/perf/util/scripting-engines/trace-event-perl.c
parentperf symbols: Fix annotation of objects with debuginfo files (diff)
downloadkernel-0325862dc364d8af524bf2db53ef4360ed55b989.tar.gz
kernel-0325862dc364d8af524bf2db53ef4360ed55b989.zip
perf probe: Check for dup and fdopen failures
dup and fdopen can potentially fail, so add some extra error handling checks rather than assuming they always work. Signed-off-by: Colin King <[email protected]> Acked-by: Masami Hiramatsu <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Wang Nan <[email protected]> Link: http://lkml.kernel.org/r/[email protected] [ Free resources when those functions (now being verified) fail ] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions