2009/2/13 Ithamar R. Adema <ithamar.adema@xxxxxxxxxxxxxxxx>: > Hi, > > Stefano Ceccherini wrote: >>> >>> Maybe a kernel option "print stack crawl after panic()" could be >>> sufficient. >>> >> >> There is already such a thing. >> There is a KDL module, not included by default in the image, which is >> called "auto_stack_trace". >> Just include it in the image and you're done. > > Would it be useful and integrate this so someone can specify the commands to > execute in the kernel settings file? For ex., I'd like to see the output of > the "ints" command; and possibly the "syslog" command a lot of the times as > well. This way, it can be a nop if nobody specified anything, but there's no > tedious step adding binaries to the build in case of need... Exactly, a stack crawl is a good start but being able to specify a few other commands would be good too. Of course then we will all want to add variables and lambda expressions and ... But I would be happy with just a list of commands :-) -- Cheers David