add the instrumentation for function tracker