aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorYueHaibing <[email protected]>2018-05-11 19:21:42 +0800
committerArnaldo Carvalho de Melo <[email protected]>2018-05-30 15:35:31 -0300
commitab4e32ff5aa797eaea551dbb67946e2fcb56cc7e (patch)
tree3ace599c7ac233126ebe83730c5c184da44f2ca5 /tools/perf/util/scripting-engines/trace-event-python.c
parentd121109100bda84bbbb199dab97f9d56432ab235 (diff)
perf bpf: Fix NULL return handling in bpf__prepare_load()
bpf_object__open()/bpf_object__open_buffer can return error pointer or NULL, check the return values with IS_ERR_OR_NULL() in bpf__prepare_load and bpf__prepare_load_buffer Signed-off-by: YueHaibing <[email protected]> Acked-by: Daniel Borkmann <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: [email protected] Link: https://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions