A short PSA about MOZ_LOG() messages:
In Bug 1518030 back in January, I landed support for mirroring MOZ_LOG()
messages into profiles captured with the Gecko Profiler
(https://profiler.firefox.com/ formerly https://perf-html.io/).
You can now add "profilermarkers" to you MOZ_LOG env variable to cause
log messages to be mirrored as profiler Markers in profiles.
I would suggest being a little careful about enabling excessive number
of log messages when using this, and it does allocate memory for each
marker so the overhead may be more than normal (a bit). That said, you
can probably throw a lot of logs at it safely.
You can find them in the Marker Chart or Marker Table when viewing a
Now back to your regularly scheduled programming ;-)
Randell Jesup, Mozilla Corp
remove "news" for personal email