Makes the traces slightly larger, but easier to analyze.
Signed-off-by: George Dunlap <george.dunlap@xxxxxxxxxxxxx>
diff -r 61d80662cc5f -r 93bf801bd87a xen/common/sched_credit2.c
--- a/xen/common/sched_credit2.c Thu Dec 09 17:50:54 2010 +0000
+++ b/xen/common/sched_credit2.c Thu Dec 09 17:50:54 2010 +0000
@@ -383,7 +383,7 @@
d.dom = cur->vcpu->domain->domain_id;
d.vcpu = cur->vcpu->vcpu_id;
d.credit = cur->credit;
- trace_var(TRC_CSCHED2_TICKLE_CHECK, 0,
+ trace_var(TRC_CSCHED2_TICKLE_CHECK, 1,
sizeof(d),
(unsigned char *)&d);
}
@@ -445,7 +445,7 @@
d.vcpu = svc->vcpu->vcpu_id;
d.credit_start = start_credit;
d.credit_end = svc->credit;
- trace_var(TRC_CSCHED2_CREDIT_RESET, 0,
+ trace_var(TRC_CSCHED2_CREDIT_RESET, 1,
sizeof(d),
(unsigned char *)&d);
}
@@ -494,7 +494,7 @@
d.vcpu = svc->vcpu->vcpu_id;
d.credit = svc->credit;
d.delta = delta;
- trace_var(TRC_CSCHED2_CREDIT_BURN, 0,
+ trace_var(TRC_CSCHED2_CREDIT_BURN, 1,
sizeof(d),
(unsigned char *)&d);
}
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|