diff options
| author | Chenghao Duan <duanchenghao@kylinos.cn> | 2025-12-31 15:19:21 +0800 |
|---|---|---|
| committer | Huacai Chen <chenhuacai@loongson.cn> | 2025-12-31 15:19:21 +0800 |
| commit | 73721d8676771c6c7b06d4e636cc053fc76afefd (patch) | |
| tree | 6d780fc13cdbde85daf4da92984b9cb6f3b96c16 /tools/perf/scripts/python/bin/syscall-counts-record | |
| parent | LoongArch: BPF: Enable trampoline-based tracing for module functions (diff) | |
| download | linux-73721d8676771c6c7b06d4e636cc053fc76afefd.tar.gz linux-73721d8676771c6c7b06d4e636cc053fc76afefd.zip | |
LoongArch: BPF: Enhance the bpf_arch_text_poke() function
Enhance the bpf_arch_text_poke() function to enable accurate location
of BPF program entry points.
When modifying the entry point of a BPF program, skip the "move t0, ra"
instruction to ensure the correct logic and copy of the jump address.
Cc: stable@vger.kernel.org
Fixes: 677e6123e3d2 ("LoongArch: BPF: Disable trampoline for kernel module function trace")
Signed-off-by: Chenghao Duan <duanchenghao@kylinos.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'tools/perf/scripts/python/bin/syscall-counts-record')
0 files changed, 0 insertions, 0 deletions
