These are helpful to have them only enable in a certain range of code. For example, when profiling Speedometer, it's useful to have them only on when running actual benchmark code. This allows you to fiddle with the UI without worry that those actions are being measured and accounted for.
Created attachment 399922 [details]
Comment on attachment 399922 [details]
The 32-bit build failure is real. Can you fix?
(In reply to Mark Lam from comment #3)
> The 32-bit build failure is real. Can you fix?
Will do before landing. Just needs an ENABLE(SAMPLING_PROFILER)
Created attachment 399932 [details]
patch for landing
Committed r262014: <https://trac.webkit.org/changeset/262014>
All reviewed patches have been landed. Closing bug and clearing flags on attachment 399932 [details].