Skip to contentSkip to conversation

xentrace: trace domain destruction

PATCH In review George Dunlap 1 participant 3 messages Mar 9, 2009

lore
Share & tools
lore
#2 lore raw

Once more, with feeling...

Turns out that if the file is empty (because for example, one forgot to type "hg qrefresh"), gmail helpfully doesn't attach anything at all, but doesn't mention the fact.

-George

Quoted 10 lines · George Dunlap

Attatching the patch this time.
 -G

Quoted 4 lines · George Dunlap

TRC_SCHED_DOM_REM is defined, but never used.  Use it.

xen/common/domain.c +3 -0
diff -r b249f3e979a5 xen/common/domain.c
@@ -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,8 @@
         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-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel