don't profile private methods

as a quick hack to fix certain methods going into
infinite loop issue.