Skip to contentSkip to conversation

display domain status in I-ipipe tracer

PATCH Applied Jan Kiszka 2 participants 2 messages Apr 9, 2006

lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

PATCH 1/1 display domain status in I-ipipe tracer

Hi,

as promised, here is the patch to extend the I-ipipe trace so that it displays also the domain stall flags of the first 4 domains (I don't expect more in practice yet ;) ). The information is shown if you switch on the verbose mode (echo 1 > /proc/ipipe/tracer/verbose). Also, more explanation of the shown columns is given now.

Please apply.

Jan

---
 kernel/ipipe/core.c   |    4 --
 kernel/ipipe/tracer.c |   77 +++++++++++++++++++++++++++++++++++++++++++++-----
 2 files changed, 71 insertions(+), 10 deletions(-)
kernel/ipipe/core.c +1 -3
Index: linux-2.6.15.3-kgdb/kernel/ipipe/core.c
===================================================================
@@ -40,7 +40,7 @@ struct ipipe_domain *ipipe_percpu_domain
 
 ipipe_spinlock_t __ipipe_pipelock = IPIPE_SPIN_LOCK_UNLOCKED;
 
-struct list_head __ipipe_pipeline;
+LIST_HEAD(__ipipe_pipeline);
 
 unsigned long __ipipe_virtual_irq_map = 0;
 
@@ -66,8 +66,6 @@ void ipipe_init(void)
 	 * secondary CPUs are still lost in space.
 	 */
 
-	INIT_LIST_HEAD(&__ipipe_pipeline);
-
 	ipd->name = "Linux";
 	ipd->domid = IPIPE_ROOT_ID;
 	ipd->priority = IPIPE_ROOT_PRIO;
kernel/ipipe/tracer.c +70 -7

125 lines not on this page · raw message

#1 lore raw
Quoted 10 lines · Jan Kiszka

Hi,

as promised, here is the patch to extend the I-ipipe trace so that it displays also the domain stall flags of the first 4 domains (I don't expect more in practice yet ;) ). The information is shown if you switch on the verbose mode (echo 1 > /proc/ipipe/tracer/verbose). Also, more explanation of the shown columns is given now.

Please apply.

Applied, thanks.

Signature · 1 line
Philippe.