[proflog] Add counters sampling on profiler shutdown
[proflog] Add counters sampling on runtime initialized
Merge pull request #1392 from ludovic-henry/pr34-proflog-counters-sample-shutdown

[proflog] Add counters sampling on profiler shutdown and startup