On 2021-09-07 16:13:04 [+0200], Marco Elver wrote: > diff --git a/lib/stackdepot.c b/lib/stackdepot.c > index c80a9f734253..cab6cf117290 100644 > --- a/lib/stackdepot.c > +++ b/lib/stackdepot.c > @@ -339,6 +350,25 @@ depot_stack_handle_t stack_depot_save(unsigned long *entries, > fast_exit: > return retval; > } > +EXPORT_SYMBOL_GPL(__stack_depot_save); > + > +/** > + * stack_depot_save - Save a stack trace from an array > + * > + * @entries: Pointer to storage array > + * @nr_entries: Size of the storage array > + * @alloc_flags: Allocation gfp flags > + * > + * Context: Contexts where allocations via alloc_pages() are allowed. Could we add here something like (see __stack_depot_save() for details) since it has more verbose. Sebastian