mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 12:50:09 +00:00

This patch adds generic checks in all JSON profiles, that "counters" look valid. And in GeckoProfiler.Counters, there are new checks for manually-added counters. WaitForSamplingState had to be moved up. It's more efficient and reliable than an arbitraty `PR_Sleep` to wait for samples to be taken. Differential Revision: https://phabricator.services.mozilla.com/D128840