On Mon, Mar 14, 2022 at 9:57 AM Marco Elver <elver@xxxxxxxxxx> wrote: > > > Another option here is to instruct stack depot to get the stack from > > the Shadow Call Stack. This would avoid copying the frames twice. > > Yes, I think a stack_depot_save_shadow() would be appropriate if it > saves a copy. Sounds good, will do in v2.