xen: tracing: add trace records for schedule and rate-limiting.
authorDario Faggioli <dario.faggioli@citrix.com>
Fri, 30 Sep 2016 14:21:34 +0000 (16:21 +0200)
committerGeorge Dunlap <george.dunlap@citrix.com>
Fri, 30 Sep 2016 15:19:42 +0000 (16:19 +0100)
commitc540b09cecd2d21dfc0f14be1cd89fa9808705b5
tree63d4c331de9243f35af8efba2c0cd1edd635a800
parenta7fa4d5f53adbb1e26cf754ce53fcbc639455d8b
xen: tracing: add trace records for schedule and rate-limiting.

As far as {csched, csched2, rt}_schedule() are concerned,
an "empty" event, would already make it easier to read and
understand a trace.

But while there, add a few useful information, like
if the cpu that is going through the scheduler has
been tickled or not, if it is currently idle, etc
(they vary, on a per-scheduler basis).

For Credit1 and Credit2, add a record about when
rate-limiting kicks in too.

Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com>
Acked-by: George Dunlap <george.dunlap@citrix.com>
xen/common/sched_credit.c
xen/common/sched_credit2.c
xen/common/sched_rt.c