aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorFlorent Revest <[email protected]>2021-02-10 12:14:05 +0100
committerAlexei Starovoitov <[email protected]>2021-02-11 17:44:41 -0800
commit6cd4dcc3fb8198fff6e6c2d7c622f78649fa2474 (patch)
tree90e01695280e38a54a9f8dd9ddc0d37e6de3fcdf /tools/perf/scripts/python/bin/stackcollapse-report
parent61f8c9c8f3c8fb60722f0f3168d1a546dbf8a3d4 (diff)
selftests/bpf: Use vmlinux.h in socket_cookie_prog.c
When migrating from the bpf.h's to the vmlinux.h's definition of struct bps_sock, an interesting LLVM behavior happened. LLVM started producing two fetches of ctx->sk in the sockops program this means that the verifier could not keep track of the NULL-check on ctx->sk. Therefore, we need to extract ctx->sk in a variable before checking and dereferencing it. Signed-off-by: Florent Revest <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Acked-by: KP Singh <[email protected]> Acked-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions