Moved sampling to the profiler config itself

Change-Id: I9d130a4bb6a7b9370813b478c692ada492785ae2
Merge "Moved sampling to the profiler config itself"