include IRQ and domain states in panic dump
PATCH 1/1 include IRQ and domain states in panic dump
kernel/ipipe/tracer.c +12 -0
@@ -622,6 +622,18 @@ void ipipe_trace_panic_dump(void)struct ipipe_trace_point *point = &panic_path->point[pos];long time;char buf[16 ]; +int i; + +printk (" %c" , (point->flags &IPIPE_TFLG_HWIRQ_OFF ) ? +'|' :' ' ); + +for (i =IPIPE_TFLG_DOMSTATE_BITS ; i >=0 ; i--) +printk ("%c" , + (IPIPE_TFLG_CURRENT_DOMAIN (point) == i) ? + (IPIPE_TFLG_DOMAIN_STALLED (point, i) ? +'#' :'+' ) : + (IPIPE_TFLG_DOMAIN_STALLED (point, i) ? +'*' :' ' ));if (!point->eip)printk ("-<invalid>-\n" );
Philippe Gerum
Appliedkernel/ipipe/tracer.c
Quoted 4 lines · Jan Kiszka
Index:
linux-2.6.20.1/kernel/ipipe/tracer.c
===================================================================kernel/ipipe/tracer.c +0
-0
Merged, thanks.
Signature · 1 line
Philippe.