diff options
| author | Hari Bathini <hbathini@linux.ibm.com> | 2026-03-12 13:31:13 +0530 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2026-03-13 07:13:35 -0700 |
| commit | 2af3aa702c05ecd05850db9d9e110be9ffa3cf47 (patch) | |
| tree | f54322e43f8fb90b36fb04f8a439341b20b175c8 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | ca0f39a369c5f927c3d004e63a5a778b08a9df94 (diff) | |
selftests/bpf: Improve test coverage for kfunc call
On powerpc, immediate load instructions are sign extended. In case
of unsigned types, arguments should be explicitly zero-extended by
the caller. For kfunc call, this needs to be handled in the JIT code.
In bpf_kfunc_call_test4(), that tests for sign-extension of signed
argument types in kfunc calls, add some additional failure checks.
And add bpf_kfunc_call_test5() to test zero-extension of unsigned
argument types in kfunc calls.
Signed-off-by: Hari Bathini <hbathini@linux.ibm.com>
Acked-by: Yonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/r/20260312080113.843408-1-hbathini@linux.ibm.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
