Re: [PATCH 5/9] arm64: Make __get_wchan() use arch_stack_walk()
From: Mark Brown
Date: Wed Nov 17 2021 - 10:50:20 EST
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 <broonie@xxxxxxxxxx>
Attachment:
signature.asc
Description: PGP signature