xen: sched: generalize scheduling related perfcounter macros
authorDario Faggioli <dario.faggioli@citrix.com>
Tue, 23 Oct 2012 11:17:16 +0000 (04:17 -0700)
committerDario Faggioli <dario.faggioli@citrix.com>
Tue, 23 Oct 2012 11:17:16 +0000 (04:17 -0700)
commit5061a49c4e8ab1f6ec81dcb6bb2d5e3ba55a67fd
treec790db1455a4f1c9bc6ed93e69994e74e4835d1a
parentfa17c2328e7071b9fb675cf5ab0a322c166181ff
xen: sched: generalize scheduling related perfcounter macros

Moving some of them from sched_credit.c to generic scheduler code.
This also allows the other schedulers to use perf counters equally
easy.

This change is mainly preparatory work for what stated above. In fact,
it mostly does s/CSCHED_STAT/SCHED_STAT/, and, in general, it implies
no functional changes.

Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com>
Acked-by: George Dunlap <george.dunlap@eu.citrix.com>
Committed-by: Keir Fraser <keir@xen.org>
xen/common/sched_credit.c
xen/common/schedule.c
xen/include/xen/perfc_defn.h
xen/include/xen/sched.h