Re: [PATCH 1/2] sched/debug: Inform the number of rt/dl task that can migrate

From: Daniel Bristot de Oliveira
Date: Thu Jun 22 2017 - 09:02:50 EST


On 06/22/2017 11:29 AM, Ingo Molnar wrote:
> Note that this patch breaks in various cross-builds - here's the Alpha defconfig
> build:
>
> /home/mingo/tip/kernel/sched/debug.c: In function 'print_rt_rq':
> /home/mingo/tip/kernel/sched/debug.c:556:60: error: 'struct rt_rq' has no member
> named 'rt_nr_migratory'
> SEQ_printf(m, " .%-30s: %lu\n", #x, (unsigned long)(rt_rq->x))
> ^
> /home/mingo/tip/kernel/sched/debug.c:33:17: note: in definition of macro
> 'SEQ_printf'
> seq_printf(m, x); \
> ...

Oops...

The rt_nr_migratory is conditioned to:

#ifdef CONFIG_SMP

Sorry for the miss attention, I will fix this.

-- Daniel