Getting backtrace of a process