WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

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

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] credit2: Trace rdtsc value with some more records
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 23 Dec 2010 05:33:32 -0800
Delivery-date: Thu, 23 Dec 2010 05:35:43 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] credit2: Trace rdtsc value with some more records, Xen patchbot-unstable <=