aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorWang Qing <wangqing@vivo.com>2020-11-07 15:45:44 +0800
committerDaniel Borkmann <daniel@iogearbox.net>2020-11-09 22:37:19 +0100
commitabbaa433de07076fb8ef524b77ce55d94bad5fc5 (patch)
treee26c7b6aefb6fd4ef8131871b689c0372d023734 /tools/perf/scripts/python/export-to-postgresql.py
parentlibbpf: Don't attempt to load unused subprog as an entry-point BPF program (diff)
downloadwireguard-linux-abbaa433de07076fb8ef524b77ce55d94bad5fc5.tar.xz
wireguard-linux-abbaa433de07076fb8ef524b77ce55d94bad5fc5.zip
bpf: Fix passing zero to PTR_ERR() in bpf_btf_printf_prepare
There is a bug when passing zero to PTR_ERR() and return. Fix the smatch error. Fixes: c4d0bfb45068 ("bpf: Add bpf_snprintf_btf helper") Signed-off-by: Wang Qing <wangqing@vivo.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Yonghong Song <yhs@fb.com> Acked-by: John Fastabend <john.fastabend@gmail.com> Link: https://lore.kernel.org/bpf/1604735144-686-1-git-send-email-wangqing@vivo.com
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions