diff options
| author | Tiezhu Yang <yangtiezhu@loongson.cn> | 2026-04-22 10:45:34 +0300 |
|---|---|---|
| committer | Huacai Chen <chenhuacai@loongson.cn> | 2026-04-22 10:45:34 +0300 |
| commit | c9ebe2016de967b47ce99d5af9bc791939c955f4 (patch) | |
| tree | f4fe79d2ba693dd8019b7dc155cecd77c8b78506 /drivers | |
| parent | 0ef8b96051555aaded204c9e65edbd3656d9613f (diff) | |
| download | linux-c9ebe2016de967b47ce99d5af9bc791939c955f4.tar.xz | |
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 'drivers')
0 files changed, 0 insertions, 0 deletions
