gecko-dev/mozglue
Nicholas Nethercote 4b364cf3f3 Bug 1375299 (part 1) - Reduce usage of MOZ_GECKO_PROFILER. r=mstange.
This patch reduces the differences between builds where the profiler is enabled
and those where the profiler is disabled. It does this by removing numerous
MOZ_GECKO_PROFILER checks.

These changes have the following consequences.

- Various functions and classes are now defined in all builds, and so can be
  used unconditionally: profiler_add_marker(), profiler_set_js_context(),
  profiler_clear_js_context(), profiler_get_pseudo_stack(), AutoProfilerLabel.
  (They are effectively no-ops in non-profiler builds, of course.)

- The no-op versions of PROFILER_* are now gone. The remaining versions are
  almost no-ops when the profiler isn't built.

--HG--
extra : rebase_source : 8fb5e8757600210c2f77865694d25162f0b7698a
2017-06-22 06:26:16 +10:00
..
android Bug 1343541 - restore signal actions changed by Android debugger. r=glandium 2017-04-12 17:34:17 +08:00
build Bug 1375299 (part 1) - Reduce usage of MOZ_GECKO_PROFILER. r=mstange. 2017-06-22 06:26:16 +10:00
linker Bug 1360321 - 4e. Fix std::min type error; r=froydnj r=glandium 2017-05-17 13:06:22 -04:00
misc Bug 1375299 (part 1) - Reduce usage of MOZ_GECKO_PROFILER. r=mstange. 2017-06-22 06:26:16 +10:00
tests Bug 1334276 - add Printf unit tests; r=froydnj 2017-05-08 13:49:48 -06:00
moz.build Bug 1344837 - add BUG_COMPONENT to mozglue/* files. r=glandium 2017-03-09 05:33:30 -05:00