diff options
| author | Tiezhu Yang <yangtiezhu@loongson.cn> | 2026-04-22 15:45:34 +0800 |
|---|---|---|
| committer | Huacai Chen <chenhuacai@loongson.cn> | 2026-04-22 15:45:34 +0800 |
| commit | c9ebe2016de967b47ce99d5af9bc791939c955f4 (patch) | |
| tree | f4fe79d2ba693dd8019b7dc155cecd77c8b78506 /lib/tests/string_kunit.c | |
| parent | 0ef8b96051555aaded204c9e65edbd3656d9613f (diff) | |
LoongArch: BPF: Support up to 12 function arguments for trampoline
Currently, LoongArch bpf trampoline supports up to 8 function arguments.
According to the statistics from commit 473e3150e30a ("bpf, x86: allow
function arguments up to 12 for TRACING"), there are over 200 functions
accept 9 to 12 arguments, so add 12 arguments support for trampoline.
With this patch, the following related testcases passed:
sudo ./test_progs -a tracing_struct/struct_many_args
sudo ./test_progs -a fentry_test/fentry_many_args
sudo ./test_progs -a fexit_test/fexit_many_args
Acked-by: Hengqi Chen <hengqi.chen@gmail.com>
Tested-by: Hengqi Chen <hengqi.chen@gmail.com>
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'lib/tests/string_kunit.c')
0 files changed, 0 insertions, 0 deletions
