aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorHao Luo <[email protected]>2020-09-03 13:05:28 -0700
committerAlexei Starovoitov <[email protected]>2020-09-03 17:33:31 -0700
commit95cec14b0308085c028c4d4fb3d09fad3902b4c3 (patch)
tree84f648ba51fa70be277215e72b2113c532f319d4 /tools/perf/scripts/python/export-to-postgresql.py
parentb4ff7ad7784689138ca2d9454833afc28cef6a68 (diff)
selftests/bpf: Fix check in global_data_init.
The returned value of bpf_object__open_file() should be checked with libbpf_get_error() rather than NULL. This fix prevents test_progs from crash when test_global_data.o is not present. Signed-off-by: Hao Luo <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Acked-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions