diff options
| author | Hari Bathini <hbathini@linux.ibm.com> | 2026-02-20 11:59:58 +0530 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2026-02-24 10:34:16 -0800 |
| commit | 3733f4be287029dad963534da3d91ac806df233d (patch) | |
| tree | 728240c0a1c72416211157d0c482aa91797590fd /tools/perf/scripts/python/stackcollapse.py | |
| parent | 055d8dd55302927e5b12d7ad4406730aba9f3f75 (diff) | |
bpf: Do not increment tailcall count when prog is NULL
Currently, tailcall count is incremented in the interpreter even when
tailcall fails due to non-existent prog. Fix this by holding off on
the tailcall count increment until after NULL check on the prog.
Suggested-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Hari Bathini <hbathini@linux.ibm.com>
Link: https://lore.kernel.org/r/20260220062959.195101-1-hbathini@linux.ibm.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
