As noted in #24106, the PROF_SAMPLE_COST_CENTRE that we currently use to report time profiles is quite limited. Here we introduce PROF_SAMPLE_COST_CENTRE_STACK, a new event which reports tick, entry, and allocation counts for all cost-centre stacks.
PROF_SAMPLE_COST_CENTRE
PROF_SAMPLE_COST_CENTRE_STACK
Closes #24106.