"import utils" defines profile if required

Importing the "utils" package now defines "profile", if it is not defined
by a profiler.