[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to deliberately dump a kernel stack?



Hi,

On 3/9/07, railroad seeker <railroad.seeker@xxxxxxxxx> wrote:
Hi all:

I would like to deliberately cause a kernel stack dump when the kernel
is in softirq. Is it possible to do this?

Maybe you could use the dump_stack() on i386 architecture. It is mentioned in do_IRQ() and it is also exported.

Could you give me another technique to trace the call stack without
modifying the code to panic()?

If the dump_stack() works for you, then you shouldn't have a reason to modify panic().

BlackHole

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ