All of lore.kernel.org
 help / color / mirror / Atom feed
* [Adeos-main] [PATCH] include IRQ and domain states in panic dump
@ 2007-02-23 14:40 Jan Kiszka
  2007-02-23 19:06 ` [Adeos-main] " Philippe Gerum
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Kiszka @ 2007-02-23 14:40 UTC (permalink / raw)
  To: Philippe Gerum; +Cc: adeos-main

[-- Attachment #1: Type: text/plain, Size: 761 bytes --]

Index: linux-2.6.20.1/kernel/ipipe/tracer.c
===================================================================
--- linux-2.6.20.1.orig/kernel/ipipe/tracer.c
+++ linux-2.6.20.1/kernel/ipipe/tracer.c
@@ -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"); 



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Adeos-main] Re: [PATCH] include IRQ and domain states in panic dump
  2007-02-23 14:40 [Adeos-main] [PATCH] include IRQ and domain states in panic dump Jan Kiszka
@ 2007-02-23 19:06 ` Philippe Gerum
  0 siblings, 0 replies; 2+ messages in thread
From: Philippe Gerum @ 2007-02-23 19:06 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: adeos-main

On Fri, 2007-02-23 at 15:40 +0100, Jan Kiszka wrote:
> Index: linux-2.6.20.1/kernel/ipipe/tracer.c
> ===================================================================
> --- linux-2.6.20.1.orig/kernel/ipipe/tracer.c
> +++ linux-2.6.20.1/kernel/ipipe/tracer.c

Merged, thanks.

-- 
Philippe.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-02-23 19:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-23 14:40 [Adeos-main] [PATCH] include IRQ and domain states in panic dump Jan Kiszka
2007-02-23 19:06 ` [Adeos-main] " Philippe Gerum

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.