Use instrument_function to trace call tree.