Running kgdb in batch mode.

Sushanth Rai sushanth_rai at yahoo.com
Mon Nov 26 06:21:39 UTC 2012


Basically I would like to get kernel backtrace of a bunch of threads from the live kernel under some conditions. When the condition is seen I would like to run kgdb, collect kernel backtrace of specific threads and exit. Is there a way run kgdb in batch mode ? Or any other way to get the stack trace.

Thanks,
Sushanth


More information about the freebsd-hackers mailing list