Hi,
Is there any utility to know the function call order?.
OR
is there any utility to generate the function call tree?
Thanks and Regards,
Anil
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
Is there any utility to know the function call order?.
OR
is there any utility to generate the function call tree?
Thanks and Regards,
Anil
ANILKUMAR GUTTA said:is there any utility to generate the function call tree?
Please try the call_graph utility in the cg_xml package.
Thanks and regards,
-George
Hi George,
The call tree which is generated from the call_graph.pl it is generated in ALPHABETICAL order inside the finction instead of the actual function call.
So is there any methord that we can generate correct call tree?
Thanks and Regards,
Anil
ANILKUMAR GUTTA said:is there any method that we can generate correct call tree?
I'm still not sure what you mean by correct call tree. If you want the functions listed in the same order in which they appear in the original source code ... That is a feature which could be added to call_graph. The source code to call_graph is included in the cg_xml package. Look for the file install_root/ofd/call_graph.pl. If you want the functions listed in order in which they actually execute ... This requires gathering lots of information at runtime then processing it to show you the dynamic call graph. I'm not aware of any way to perform that task.
Thanks and regards,
-George