On Wed, Nov 17, 2021 at 02:07:33PM +0000, Mark Rutland wrote: > +static bool get_wchan_cb(void *arg, unsigned long pc) > +{ > + struct wchan_info *wchan_info = arg; > + > + if (!in_sched_functions(pc)) { > + wchan_info->pc = pc; > + return false; > + } > + return wchan_info->count++ < 16; > +} I don't love the magic number but it was there before so not a problem for this patch so Reviewed-by: Mark Brown