Commit 69424097 authored by Jiawei Zhao's avatar Jiawei Zhao Committed by Andrii Nakryiko
Browse files

selftests/bpf: Enrich subtest_basic_usdt case in selftests to cover SIB handling logic



When using GCC on x86-64 to compile an usdt prog with -O1 or higher
optimization, the compiler will generate SIB addressing mode for global
array, e.g. "1@-96(%rbp,%rax,8)".

In this patch:
- enrich subtest_basic_usdt test case to cover SIB addressing usdt argument spec
  handling logic

Signed-off-by: default avatarJiawei Zhao <phoenix500526@163.com>
Signed-off-by: default avatarAndrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20250827053128.1301287-3-phoenix500526@163.com
parent 758acb9c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment