xentrace: trace domain destruction
PATCH 1/1 xentrace: trace domain destruction
TRC_SCHED_DOM_REM is defined, but never used. Use it.
Signed-off-by George Dunlap <[email protected]>
Attatching the patch this time.
-G
Quoted 4 lines · George Dunlap
TRC_SCHED_DOM_REMis defined, but never used. Use it.Signed-off-by George Dunlap <[email protected]>
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.
-GQuoted 4 lines · George Dunlap
TRC_SCHED_DOM_REMis defined, but never used. Use it.Signed-off-by George Dunlap <[email protected]>
xen/common/domain.c +3 -0
@@ -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