Don't init profile / meter damon threads when not active. (#295)

* only init profile / meter when active

Don't init profile / meter damon threads when not active, since thread is expensive in python.

* only profiling when active

Don't run profiling when config.agent_profile_active set to False.
2 files changed