forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit e2b8def
LoongArch: BPF: Add bpf trampoline support for Loongarch
BPF trampoline is the critical infrastructure of the BPF subsystem, acting
as a mediator between kernel functions and BPF programs. Numerous important
features, such as using BPF program for zero overhead kernel introspection,
rely on this key component.
The related tests have passed, Including the following technical points:
1. fentry
2. fmod_ret
3. fexit
The following related testcases passed on LoongArch:
sudo ./test_progs -a fentry_test/fentry
sudo ./test_progs -a fexit_test/fexit
sudo ./test_progs -a fentry_fexit
sudo ./test_progs -a modify_return
sudo ./test_progs -a fexit_sleep
sudo ./test_progs -a test_overhead
sudo ./test_progs -a trampoline_count
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Co-developed-by: George Guo <[email protected]>
Signed-off-by: George Guo <[email protected]>
Signed-off-by: Chenghao Duan <[email protected]>
Tested-by: Tiezhu Yang <[email protected]>
Tested-by: Vincent Li <[email protected]>
Reviewed-by: Hengqi Chen <[email protected]>
Reviewed-by: Huacai Chen <[email protected]>1 parent a7227e3 commit e2b8defCopy full SHA for e2b8def
0 commit comments