solve the problem of missing trace of function pointer call