I want to know if there is any info about knowing the calling path of a program.
after using some tools, I expect to see
main() --> func1() --> func2() --> func3() --> func1() --> func2()
The call graph in gprof seems just gives the times a function called, not the order or the relation between function calls.
thanks very much