more specifically, about vCPU initialization and destruction events,
in line with
adb26c09f26e ("xen: sched: introduce a couple of counters
in credit2 and SEDF").
Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com>
Reviewed-by: Meng Xu <mengxu@cis.upenn.edu>
Reviewed-by: George Dunlap <george.dunlap@eu.citrix.com>
if ( !is_idle_vcpu(vc) )
svc->budget = RTDS_DEFAULT_BUDGET;
+ SCHED_STAT_CRANK(vcpu_init);
+
return svc;
}
struct rt_dom * const sdom = svc->sdom;
spinlock_t *lock;
+ SCHED_STAT_CRANK(vcpu_destroy);
+
BUG_ON( sdom == NULL );
lock = vcpu_schedule_lock_irq(vc);