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

[Xen-changelog] [xen-unstable] xentrace: TRC_SCHED_DOM_REM is defined, but never used. Use it.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1236766026 0
# Node ID 1282561a2bf289942284b222631ad4c2565e1c4e
# Parent  6357628c678f09071bd635f783fe276bacffa1c8
xentrace: TRC_SCHED_DOM_REM is defined, but never used. Use it.

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

diff -r 6357628c678f -r 1282561a2bf2 xen/common/domain.c
--- a/xen/common/domain.c       Wed Mar 11 10:05:00 2009 +0000
+++ b/xen/common/domain.c       Wed Mar 11 10:07:06 2009 +0000
@@ -30,6 +30,7 @@
 #include <public/sched.h>
 #include <public/vcpu.h>
 #include <xsm/xsm.h>
+#include <xen/trace.h>
 
 /* Linux config option: propageted to domain0 */
 /* xen_processor_pmbits: xen control Cx, Px, ... */
@@ -595,6 +596,7 @@ void domain_destroy(struct domain *d)
         return;
 
     /* Delete from task list and task hashtable. */
+    TRACE_1D(TRC_SCHED_DOM_REM, d->domain_id);
     spin_lock(&domlist_update_lock);
     pd = &domain_list;
     while ( *pd != 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®.