mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
97c5d40384
This adds two AUTO_PROFILER_LABEL_DYNAMIC_... macros and updates select usages of the old macros to use the new ones. These new macros cause the dynamic string of the label to be included in BHR stacks. We don't want to do this all of the time, as in many cases we may not be interested enough in the dynamic string or it may be sensitive information, but it is rather important information for certain cases. This uses the same buffer that we use for the strings for JS frames, and if we fail to fit into that buffer we just append the raw label. If the string is too long for our static buffer (128 bytes), we just leave it truncated, as it should be stable and we may be able to infer from the truncated form what the full form would be. Differential Revision: https://phabricator.services.mozilla.com/D51665 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
AutoMemMap.cpp | ||
AutoMemMap.h | ||
ChromeScriptLoader.cpp | ||
IOBuffers.h | ||
moz.build | ||
mozJSComponentLoader.cpp | ||
mozJSComponentLoader.h | ||
mozJSLoaderUtils.cpp | ||
mozJSLoaderUtils.h | ||
mozJSSubScriptLoader.cpp | ||
mozJSSubScriptLoader.h | ||
nsImportModule.cpp | ||
nsImportModule.h | ||
PrecompiledScript.h | ||
PScriptCache.ipdl | ||
script_cache.py | ||
ScriptCacheActors.cpp | ||
ScriptCacheActors.h | ||
ScriptPreloader-inl.h | ||
ScriptPreloader.cpp | ||
ScriptPreloader.h | ||
URLPreloader.cpp | ||
URLPreloader.h | ||
XPCOMUtils.jsm |