[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] credit2: Trace rdtsc value with some more records



# HG changeset patch
# User Keir Fraser <keir@xxxxxxx>
# Date 1291978216 0
# Node ID bbd9eda7b550e47c4b9461ef45528bc9e3f00693
# Parent  6687236c4702aa2a7b1b8387e12c51b14d059f15
credit2: Trace rdtsc value with some more records

Makes the traces slightly larger, but easier to analyze.

Signed-off-by: George Dunlap <george.dunlap@xxxxxxxxxxxxx>
---
 xen/common/sched_credit2.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff -r 6687236c4702 -r bbd9eda7b550 xen/common/sched_credit2.c
--- a/xen/common/sched_credit2.c        Fri Dec 10 10:49:48 2010 +0000
+++ b/xen/common/sched_credit2.c        Fri Dec 10 10:50:16 2010 +0000
@@ -383,7 +383,7 @@ runq_tickle(const struct scheduler *ops,
             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 @@ static void reset_credit(const struct sc
             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 @@ void burn_credits(struct csched_runqueue
         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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.