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:
Juergen Gross authored and Jan Beulich committed 2013-10-16 12:28:04 +02:00
1 parent d38a668b6e
commit b4fdb6da1e
1 file changed
+2 -1
+2 -1
View 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,
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.