Re: [RFC PATCH v2 2/2] lib, stackdepot: Add helper to print stack entries.

From: Alexander Potapenko
Date: Fri Sep 03 2021 - 12:04:26 EST


On Thu, Sep 2, 2021 at 9:55 AM Vlastimil Babka <vbabka@xxxxxxx> wrote:
>
> On 9/2/21 02:01, Imran Khan wrote:
> > To print a stack entries, users of stackdepot, first
> > use stack_depot_fetch to get a list of stack entries
> > and then use stack_trace_print to print this list.
> > Provide a helper in stackdepot to print stack entries
> > based on stackdepot handle.
> > Also change above mentioned users to use this helper.
> >
> > Signed-off-by: Imran Khan <imran.f.khan@xxxxxxxxxx>
> > Suggested-by: Vlastimil Babka <vbabka@xxxxxxx>
>
> Acked-by: Vlastimil Babka <vbabka@xxxxxxx>

Reviewed-by: Alexander Potapenko <glider@xxxxxxxxxx>

--
Alexander Potapenko
Software Engineer

Google Germany GmbH
Erika-Mann-Straße, 33
80636 München

Geschäftsführer: Paul Manicle, Halimah DeLaine Prado
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg