This repository was archived by the owner on Aug 24, 2020. It is now read-only.

Description
profiling script should cd to current directory because currently all relative path of profiled app are broken
e.g. if I do this:
import sys, os
PROJECT_PATH = os.path.normpath(os.path.join(sys.modules[__name__].__file__,'../'))
I will get wrong path and won't be able to add needed modules
currently __file__ reference points to: python2.7/site-packages/profiling/__main__.py