Line
Link Here
|
0 |
-- a/tools/profiler/core/platform-linux.cc |
0 |
++ b/tools/profiler/core/platform-linux.cc |
Lines 701-710
Link Here
|
701 |
{ |
701 |
{ |
702 |
MOZ_ASSERT(aContext); |
702 |
MOZ_ASSERT(aContext); |
703 |
ucontext_t* pContext = reinterpret_cast<ucontext_t*>(aContext); |
703 |
ucontext_t* pContext = reinterpret_cast<ucontext_t*>(aContext); |
|
|
704 |
#ifdef __GLIBC__ |
704 |
if (!getcontext(pContext)) { |
705 |
if (!getcontext(pContext)) { |
705 |
context = pContext; |
706 |
context = pContext; |
706 |
SetSampleContext(this, aContext); |
707 |
SetSampleContext(this, aContext); |
707 |
} |
708 |
} |
|
|
709 |
#endif |
708 |
} |
710 |
} |
709 |
|
711 |
|
710 |
void OS::SleepMicro(int microseconds) |
712 |
void OS::SleepMicro(int microseconds) |