gecko-dev/mozglue/misc
Nicholas Nethercote aab625999f Bug 1370329 (part 2) - Add support for profiler labels in mozglue. r=mstange,glandium.
Profiler labels can't currently be used in mozglue, because the profiler's code
is in libxul, and mozglue cannot depend on libxul.

This patch addresses this by basically duplicating AutoProfilerLabel in
mozglue. libxul passes two callback functions to mozglue to do the actual
pushing/popping of labels.

It's an annoying amount of machinery, but it is unavoidable if we want to use
profiler labels within mozglue.

--HG--
extra : rebase_source : 4bcb6fb0f050bba42c23d92d01f9c56611f8518f
2017-06-07 12:36:26 +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 1370329 (part 2) - Add support for profiler labels in mozglue. r=mstange,glandium. 2017-06-07 12:36:26 +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
moz.build Bug 1370329 (part 2) - Add support for profiler labels in mozglue. r=mstange,glandium. 2017-06-07 12:36:26 +10: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
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
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_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
StackWalk.cpp Bug 1370198 Back out the patch for bug 1369419 because the patch couldn't fix bug 1361132 and causes new crash bugs r=jimm 2017-06-05 21:52:16 +09:00
StackWalk.h Bug 1322735 - Remove MOZ_STACKWALKING define. r=glandium 2016-12-20 15:11:36 -08: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 No bug - fix variable spelling. DONTBUILD 2017-05-04 14:29:55 -04:00
TimeStamp_windows.h
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