add cap value to credit scheduler debug info
authorJuergen Gross <juergen.gross@ts.fujitsu.com>
Wed, 16 Oct 2013 10:28:04 +0000 (12:28 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 16 Oct 2013 10:28:04 +0000 (12:28 +0200)
Currently only the weight is the only scheduling parameter printed for
domains in the credit scheduler key handler. Add the cap value to be
printed as well.

Signed-off-by: Juergen Gross <juergen.gross@ts.fujitsu.com>
Acked-by: George Dunlap <george.dunlap@eu.citrix.com>
xen/common/sched_credit.c

index e69d794a22e46d5b96d1dc20119631885f5f0aa5..28dafcfb9a44cbdc60e64363bdf9b518120a90de 100644 (file)
@@ -1750,7 +1750,8 @@ csched_dump_vcpu(struct csched_vcpu *svc)
 
     if ( sdom )
     {
-        printk(" credit=%i [w=%u]", atomic_read(&svc->credit), sdom->weight);
+        printk(" credit=%i [w=%u,cap=%u]", atomic_read(&svc->credit),
+                sdom->weight, sdom->cap);
 #ifdef CSCHED_STATS
         printk(" (%d+%u) {a/i=%u/%u m=%u+%u (k=%u)}",
                 svc->stats.credit_last,