kphp icon indicating copy to clipboard operation
kphp copied to clipboard

[k2] Add support for multiple sync/async stack switches in backtrace algorithm

Open denisichh opened this issue 1 month ago • 0 comments

General

This PR improves collecting of async stack traces in runtime-light

Problem

The current collecting backtrace doesn't handle jumps from an async stack to a sync stack and back, as only 1 async stack root is supported

Solution

Added creating of new async stack roots and added forwarding of pointers to the next async stack root

denisichh avatar Nov 26 '25 17:11 denisichh