We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
开发者_如何转开发Closed 3 years ago.
Improve this questionIs there any tool to log the execution path of functions that a program goes through? I know gdb can show the backtrace at a particular point. But I want to see the whole story of a program. For instance:
int main(){
    a();
    b();
}
void a(){
    c();
}
The tool gives out something like:
a-----
  c------
b------
gcc itself can do it.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论