Re: [PATCH] kasan, scs: collect stack traces from shadow stack

From: Andrey Konovalov
Date: Sun Mar 20 2022 - 17:12:34 EST


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.