eminence / procfs

Rust library for reading the Linux procfs filesystem
Other
363 stars 106 forks source link

process stacks #14

Open eminence opened 5 years ago

eminence commented 5 years ago

Some good info here https://ops.tips/blog/using-procfs-to-get-process-stack-trace/

bsilver8192 commented 1 year ago

For anybody else finding this, the link is dead but it's archived here: https://web.archive.org/web/20220604093308/https://ops.tips/blog/using-procfs-to-get-process-stack-trace/.

Also it's referring to /proc/<pid>/stack, which is the kernel stack trace. I've been working with thread stacks recently, which are different (and have been removed from all the places I can find in /proc over time; the numbers are still there but they're all 0).