diff options
author | Andrii Nakryiko <andrii@kernel.org> | 2024-10-23 19:19:16 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2024-10-24 08:16:45 +0300 |
commit | 9806f283140ef3e4d259b7646bd8c66026bbaac5 (patch) | |
tree | d19ea1f532b580ae87eec9a7648a606d32eef5d3 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 0ee288e69d033850bc87abe0f9cc3ada24763d7f (diff) | |
download | linux-9806f283140ef3e4d259b7646bd8c66026bbaac5.tar.xz |
bpf: fix do_misc_fixups() for bpf_get_branch_snapshot()
We need `goto next_insn;` at the end of patching instead of `continue;`.
It currently works by accident by making verifier re-process patched
instructions.
Reported-by: Shung-Hsi Yu <shung-hsi.yu@suse.com>
Fixes: 314a53623cd4 ("bpf: inline bpf_get_branch_snapshot() helper")
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Yonghong Song <yonghong.song@linux.dev>
Acked-by: Shung-Hsi Yu <shung-hsi.yu@suse.com>
Link: https://lore.kernel.org/r/20241023161916.2896274-1-andrii@kernel.org
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