I want to profile my program not for performance reason but to see the logic of the program. If function A calls B then C and D it would be something like:
A -> B
-> C -> E
-> F
-> D
Presently I use valgrind/callgrind. It is very usefull but does not respond precisely to my demand. We don't see all the different callstacks and we don't see in which order the functions are called. For instance if we have also F->G (but not in the context the stack A->C->F), we won't make this distinction, we only see the callers/callees. I am in the Unix environment. Thanks for your help,
Christophe