generate program runtime callgraph by stack backtrace