Comment on Using /proc to get a process' current stack traceparentComments−lelf7yAlso you can easily get both kernel- and user-level stack trace with dtrace.
Comments
Also you can easily get both kernel- and user-level stack trace with dtrace.