aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChenghao Duan <duanchenghao@kylinos.cn>2025-08-05 19:00:18 +0800
committerHuacai Chen <chenhuacai@loongson.cn>2025-08-05 19:00:18 +0800
commited1a1fe6ec5e73b23b310b434ace07d1e5060657 (patch)
treea83cf1bcc945db261fd800f0fef3030afa8f4338 /tools/perf/scripts/python
parentLoongArch: Add larch_insn_gen_{beq,bne} helpers (diff)
downloadwireguard-linux-ed1a1fe6ec5e73b23b310b434ace07d1e5060657.tar.xz
wireguard-linux-ed1a1fe6ec5e73b23b310b434ace07d1e5060657.zip
LoongArch: BPF: Rename and refactor validate_code()
1. Rename the existing validate_code() to validate_ctx() 2. Factor out the code validation handling into a new helper validate_code() Then: * validate_code() is used to check the validity of code. * validate_ctx() is used to check both code validity and table entry correctness. The new validate_code() will be used in subsequent changes. Reviewed-by: Hengqi Chen <hengqi.chen@gmail.com> Co-developed-by: George Guo <guodongtai@kylinos.cn> Signed-off-by: George Guo <guodongtai@kylinos.cn> Signed-off-by: Chenghao Duan <duanchenghao@kylinos.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions