summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorPu Lehui <pulehui@huawei.com>2024-10-08 15:45:44 +0300
committerAlexei Starovoitov <ast@kernel.org>2024-10-10 04:23:06 +0300
commit30a59cc79754fd9ff3f41b7ee2eb21da85988548 (patch)
treebb6dcb5eb5a1b9f098ea2492e59e591a3f37a161 /tools/perf/scripts/python/exported-sql-viewer.py
parent4538a38f654a1c292fe489a9b66179262bfed088 (diff)
downloadlinux-30a59cc79754fd9ff3f41b7ee2eb21da85988548.tar.xz
riscv, bpf: Fix possible infinite tailcall when CONFIG_CFI_CLANG is enabled
When CONFIG_CFI_CLANG is enabled, the number of prologue instructions skipped by tailcall needs to include the kcfi instruction, otherwise the TCC will be initialized every tailcall is called, which may result in infinite tailcalls. Fixes: e63985ecd226 ("bpf, riscv64/cfi: Support kCFI + BPF on riscv64") Signed-off-by: Pu Lehui <pulehui@huawei.com> Acked-by: Björn Töpel <bjorn@kernel.org> Link: https://lore.kernel.org/r/20241008124544.171161-1-pulehui@huaweicloud.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions