Re: [patch] Printk kernel version in WARN_ON

From: Ingo Molnar
Date: Sat Nov 17 2007 - 19:42:50 EST



* Arjan van de Ven <arjan@xxxxxxxxxxxxx> wrote:

> ok so how about putting the same into dump_stack() instead? (see
> below) added bonus is that it's now present for all dumps that use
> dump_stack(), not just WARN_ON() (the format I copied from the exact
> line used by oopses)

nice! I did things like this in -rt because it really helps to know
which process does a WARN_ON() or raw dump_stack().

> Signed-off-by: Arjan van de Ven <arjan@xxxxxxxxxxxxxxx>

Acked-by: Ingo Molnar <mingo@xxxxxxx>

unless objections we'll put this into the x86 git tree.

Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/