diff options
author | Andrii Nakryiko <[email protected]> | 2022-05-13 10:37:03 -0700 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2022-05-13 22:07:48 +0200 |
commit | 0d2d2648931bdb1a629bf0df4e339e6a326a6136 (patch) | |
tree | 794ec3af364948b2f7e88e0ed82b6d00d62fa564 /net/lapb/lapb_timer.c | |
parent | b2531d4bdce19f28364b45aac9132e153b1f23a4 (diff) |
selftests/bpf: Fix usdt_400 test case
usdt_400 test case relies on compiler using the same arg spec for
usdt_400 USDT. This assumption breaks with Clang (Clang generates
different arg specs with varying offsets relative to %rbp), so simplify
this further and hard-code the constant which will guarantee that arg
spec is the same across all 400 inlinings.
Fixes: 630301b0d59d ("selftests/bpf: Add basic USDT selftests")
Reported-by: Mykola Lysenko <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions