[counters,perf-counters,proflog] Add support for sampling of user created PerformanceCounter via the counters API and the log profiler