Kernel Stack Trace

Quick hack to find stack trace.

Look in proc find /proc -name stack

You can see the last stack for example… /proc/479260/stack

[<0>] hrtimer_nanosleep+0x89/0x120
[<0>] __x64_sys_nanosleep+0x96/0xd0
[<0>] do_syscall_64+0x5b/0x1a0
[<0>] entry_SYSCALL_64_after_hwframe+0x66/0xcb

It superb to figure out a real-time hang and pattern.