diff options
author | Johan Almbladh <[email protected]> | 2021-09-14 11:18:41 +0200 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2021-09-28 09:26:29 +0200 |
commit | 18935a72eb25525b655262579e1652362a3b29bb (patch) | |
tree | 9e38f0d1d556c0f493d301ef01c564f393f61d3a /tools/perf/scripts/python/flamegraph.py | |
parent | f536a7c80675e4875e50df9182881d7678e27651 (diff) |
bpf/tests: Fix error in tail call limit tests
This patch fixes an error in the tail call limit test that caused the
test to fail on for x86-64 JIT. Previously, the register R0 was used to
report the total number of tail calls made. However, after a tail call
fall-through, the value of the R0 register is undefined. Now, all tail
call error path tests instead use context state to store the count.
Fixes: 874be05f525e ("bpf, tests: Add tail call test suite")
Reported-by: Paul Chaignon <[email protected]>
Reported-by: Tiezhu Yang <[email protected]>
Signed-off-by: Johan Almbladh <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Tested-by: Tiezhu Yang <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions