aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuergen Gross <juergen.gross@ts.fujitsu.com>2013-10-16 12:28:04 +0200
committerJan Beulich <jbeulich@suse.com>2013-10-16 12:28:04 +0200
commitb4fdb6da1e030d5f13929d88c607dc3d9c5b6b23 (patch)
treec23e2c7746fe3e49b22331db9e9dd30acfbfaf70
parentd38a668b6ef8c84d1d3fda9947ffb0056d01fe3a (diff)
downloadxen-b4fdb6da1e030d5f13929d88c607dc3d9c5b6b23.tar.gz
xen-b4fdb6da1e030d5f13929d88c607dc3d9c5b6b23.tar.bz2
xen-b4fdb6da1e030d5f13929d88c607dc3d9c5b6b23.zip
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>
-rw-r--r--xen/common/sched_credit.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xen/common/sched_credit.c b/xen/common/sched_credit.c
index e69d794a22..28dafcfb9a 100644
--- a/xen/common/sched_credit.c
+++ b/xen/common/sched_credit.c
@@ -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,