Uncomment this line, and see if it still builds: https://searchfox.org/mozilla-central/rev/710d6e1015d03343b067b92e6f1f775a0b1cad6f/mozglue/baseprofiler/public/BaseProfiler.h#34 If it builds, you can test it by doing startup profiling with the following env vars: `MOZ_BASE_PROFILER_STARTUP=1 MOZ_BASE_PROFILER_STARTUP_INTERVAL=5 MOZ_BASE_PROFILER_STARTUP_FEATURES=threads,stackwalk,leaf MOZ_BASE_PROFILER_STARTUP_FILTERS=GeckoMain MOZ_PROFILER_STARTUP=1 MOZ_PROFILER_STARTUP_INTERVAL=5 MOZ_PROFILER_STARTUP_FEATURES=threads,js,stackwalk,leaf,java,screenshots,ipcmessages MOZ_PROFILER_STARTUP_FILTERS=GeckoMain,Compositor,Renderer` Once you capture a profile, you should see a "GeckoMain (pre-XUL)" thread in the track list.
Bug 1634205 Comment 11 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Uncomment this line, and see if it still builds: https://searchfox.org/mozilla-central/rev/710d6e1015d03343b067b92e6f1f775a0b1cad6f/mozglue/baseprofiler/public/BaseProfiler.h#34 If it builds, you can test it by doing startup profiling with the following env vars: `MOZ_BASE_PROFILER_STARTUP=1 MOZ_BASE_PROFILER_STARTUP_INTERVAL=5 MOZ_BASE_PROFILER_STARTUP_FEATURES=threads,stackwalk,leaf MOZ_BASE_PROFILER_STARTUP_FILTERS=GeckoMain MOZ_PROFILER_STARTUP=1 MOZ_PROFILER_STARTUP_INTERVAL=5 MOZ_PROFILER_STARTUP_FEATURES=threads,js,stackwalk,leaf MOZ_PROFILER_STARTUP_FILTERS=GeckoMain,Compositor,Renderer` Once you capture a profile, you should see a "GeckoMain (pre-XUL)" thread in the track list.