Added support for full function names while profiling with decorator.
Added support for full function names while profiling with decorator.