call_stack(2) will return the list of calling functions.