Just found a very good article on the www regarding how to visualize function calls. See below:

Visualize function calls with Graphviz

http://www.ibm.com/developerworks/linux/library/l-graphvis/?S_TACT=105AGX52&S_CMP=cn-a-l