Stackoverflow that gave me an idea.
http://stackoverflow.com/questions/843671/profiling-in-python-who-called-the-function
Code that I may need to run:
First profile what you're wanting to check
python -m cProfile -o output.pstats PATH/TO/SCRIPT
Next generate the graph
gprof2dot.py -f pstats output.pstats | dot -Tpng -o output.png