sched: add some diagnostic info in the run queue keyhandler
authorJuergen Gross <jgross@suse.com>
Thu, 20 Feb 2020 10:36:16 +0000 (11:36 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 20 Feb 2020 10:36:16 +0000 (11:36 +0100)
commit1bfa59ba3b0647007e34b3cb8f8daad045467fb7
tree466e332635a372923e73b09a5a7e89a74691c2bf
parent5872c83b42c60801a2bfcd1800a56bbb8fc13400
sched: add some diagnostic info in the run queue keyhandler

When dumping the run queue information add some more data regarding
current and (if known) previous vcpu for each physical cpu.

With core scheduling activated the printed data will be e.g.:

(XEN) CPUs info:
(XEN) CPU[00] current=d[IDLE]v0, curr=d[IDLE]v0, prev=NULL
(XEN) CPU[01] current=d[IDLE]v1
(XEN) CPU[02] current=d[IDLE]v2, curr=d[IDLE]v2, prev=NULL
(XEN) CPU[03] current=d[IDLE]v3

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Dario Faggioli <dfaggioli@suse.com>
xen/common/sched/core.c