mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
add cap value to credit scheduler debug info
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>
This commit is contained in:
1 parent
d38a668b6e
commit
b4fdb6da1e
1 file changed
+2
-1
@@ -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,
|
||||
|
||||