Bug 1500692 - Centralize profiling category definition and add infrastructure for subcategories. r=njn
The actual subcategories will be added in later patches, so that there are no unused categories. Differential Revision: https://phabricator.services.mozilla.com/D11334
This commit is contained in:
@@ -567,7 +567,7 @@ AutoEntryScript::AutoEntryScript(nsIGlobalObject* aGlobalObject,
|
||||
#ifdef MOZ_GECKO_PROFILER
|
||||
,
|
||||
mAutoProfilerLabel(
|
||||
"", aReason, js::ProfilingStackFrame::Category::JS,
|
||||
"", aReason, JS::ProfilingCategoryPair::JS,
|
||||
uint32_t(js::ProfilingStackFrame::Flags::RELEVANT_FOR_JS))
|
||||
#endif
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user