diff options
| author | Ilya Leoshkevich <iii@linux.ibm.com> | 2026-02-17 17:10:06 +0100 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2026-02-24 10:47:33 -0800 |
| commit | e4094d56c5592dd90aa619f9480265b0689ed3d9 (patch) | |
| tree | 38e305b96f68ce1ea1435e53e3d546c75e389719 /tools/perf/scripts/python | |
| parent | 3733f4be287029dad963534da3d91ac806df233d (diff) | |
s390/bpf: Do not increment tailcall count when prog is NULL
Currently tail calling a non-existent prog results in tailcall count
increment. This is what the interpreter is doing, but this is clearly
wrong, so replace load-and-increment and compare-and-jump with load
and compare-and-jump, conditionally followed by increment and store.
Reported-by: Hari Bathini <hbathini@linux.ibm.com>
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Link: https://lore.kernel.org/r/20260217161058.101346-1-iii@linux.ibm.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
