is there a way to get the call graph generated by gprof to show the calling order of the functions?
so if I have main()->study()->sleep()->wakeup() and main()->wakeup()->study()->sleep(), the resulting call graph actually shows this difference in execution order..
Basically, I am trying to compare two C files in order to find out if there was a difference in execution order of their functions.. is there a better way to do this?
Thanks