gecko-dev/mozglue/misc
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
..
AutoProfilerLabel.cpp Bug 1370329 (part 2) - Add support for profiler labels in mozglue. r=mstange,glandium. 2017-06-07 12:36:26 +10:00
AutoProfilerLabel.h Bug 1375299 (part 1) - Reduce usage of MOZ_GECKO_PROFILER. r=mstange. 2017-06-22 06:26:16 +10:00
ConditionVariable_posix.cpp Bug 1312086 - part 3 - move js::{Mutex,ConditionVariable}Impl to mozglue; r=fitzgen,glandium 2017-02-08 20:52:55 -05:00
ConditionVariable_windows.cpp Bug 1364624 - Switch from CRITICALSECTION to SRWLOCK. r=froydnj 2017-05-17 15:44:20 -07:00
MutexPlatformData_posix.h Bug 1312086 - part 3 - move js::{Mutex,ConditionVariable}Impl to mozglue; r=fitzgen,glandium 2017-02-08 20:52:55 -05:00
MutexPlatformData_windows.h Bug 1364624 - Switch from CRITICALSECTION to SRWLOCK. r=froydnj 2017-05-17 15:44:20 -07:00
Mutex_posix.cpp Backout e824f50f5ca6 (bug 1353787) for massive OS X test bustage on a CLOSED TREE 2017-04-07 16:35:45 -04:00
Mutex_windows.cpp Bug 1364624 - Switch from CRITICALSECTION to SRWLOCK. r=froydnj 2017-05-17 15:44:20 -07:00
PlatformConditionVariable.h Bug 1312086 - part 3 - move js::{Mutex,ConditionVariable}Impl to mozglue; r=fitzgen,glandium 2017-02-08 20:52:55 -05:00
PlatformMutex.h Bug 1336344 - use sizeof(pthread_mutex_t) to size MutexImpl's platformData_; r=fitzgen 2017-02-22 16:41:35 -05:00
Printf.cpp Bug 1334276 - add Printf unit tests; r=froydnj 2017-05-08 13:49:48 -06:00
Printf.h Bug 1334279 - mark vsprintf-likes with MOZ_FORMAT_PRINTF; r=froydnj 2017-05-04 12:10:19 -06:00
StackWalk.cpp Bug 1372375: Avoid locks in EnsureWalkThreadReady during the profiler's critical section. r=mstange 2017-06-13 18:30:48 -04:00
StackWalk.h Bug 1322735 - Remove MOZ_STACKWALKING define. r=glandium 2016-12-20 15:11:36 -08:00
StackWalk_windows.h Bug 1359507: Replace the stack walk workaround lock with an atomic counter of suppressions. r=mstange,froydnj 2017-05-03 12:10:48 -04:00
TimeStamp.cpp Bug 1358320 - Make TimeStamp::ProcessCreation()'s outparam optional. r=gsvelto. 2017-04-26 14:55:54 +10:00
TimeStamp.h Bug 1358320 - Make TimeStamp::ProcessCreation()'s outparam optional. r=gsvelto. 2017-04-26 14:55:54 +10:00
TimeStamp_darwin.cpp
TimeStamp_posix.cpp Bug 1338086 - Remove useless else blocks in order to reduce complexity in mozglue/misc/ r=froydnj 2017-02-09 10:55:26 +01:00
TimeStamp_windows.cpp Bug 1345939 - Protect TimeStamp::Now() from going backwards on hardware with non-stable TSC. r=nfroyd 2017-06-13 05:12:00 -04:00
TimeStamp_windows.h
moz.build Bug 1375299 (part 1) - Reduce usage of MOZ_GECKO_PROFILER. r=mstange. 2017-06-22 06:26:16 +10:00