DevTools: Add V8 sampling profiler thread.
Once v8_cpu_profiling tracing category is enabled the sampling thread will start perform actions with given frequency.
Upcoming patch(es) will extract running threads: main and workers, obtain their v8 Isolates and make use of V8 GetStackSample API to obtain samples.
Every sample along with necessary meta info is going to be stored in the tracing log.
BUG=406277
Review URL: https://codereview.chromium.org/766653003
Cr-Commit-Position: refs/heads/master@{#307255}
7 files changed