summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHengqi Chen <hengqi.chen@gmail.com>2026-04-23 12:49:36 +0800
committerHuacai Chen <chenhuacai@loongson.cn>2026-04-23 12:49:36 +0800
commite815df29b6a5e59293500085a010d5882374cb3e (patch)
treebdeb7066709bd9621f902740b865a9211c8ed037 /lib
parent6ef04707e8eee09360f70812c0ac63c712460bd0 (diff)
LoongArch: BPF: Add fsession support for trampolines
Implement BPF_TRACE_FSESSION support in LoongArch BPF JIT. The logic here is almost identical to what has been done in RISC-V JIT. The key changes are: - Allocate stack space for function meta and session cookies - Introduce invoke_bpf() as a wrapper around invoke_bpf_prog() that populates session cookies before each invocation - Implement bpf_jit_supports_fsession() callback Tested-by: Vincent Li <vincent.mc.li@gmail.com> Reviewed-by: Menglong Dong <menglong8.dong@gmail.com> Signed-off-by: Hengqi Chen <hengqi.chen@gmail.com> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions