Apologies if this thread already exists somewhere. I'm working on a project and I'm in the process of tightening the screws a bit. I've been looking at the routines in kernel/klog.c, and a few routines to get information related to stack usage. Is there a way to get an actual stack trace? Minimally, I'm interested in being able to get a stack trace (with args) of a failed task at the time of failure and dump it out to persistent storage for later retrieval. Any advice would be *greatly* appreciated.
Thanks in advance,