tracing: extract tracing-active logic to separate function...
tracing: extract tracing-active logic to separate function
I'm about to add support for counters, and want to avoid duplicating this
logic.
Differential Revision:
https://phab.mercurial-scm.org/D6525