--- a/tools/profiler/core/platform.h Wed Apr 15 15:33:19 2015 -0400 +++ a/tools/profiler/core/platform.h Wed Apr 15 21:46:19 2015 +0200 @@ -18,7 +18,7 @@ // We need a definition of gettid(), but glibc doesn't provide a // wrapper for it. -#if defined(__GLIBC__) +#if 1 #include #include static inline pid_t gettid() --- a/tools/profiler/core/platform-linux.cc Wed Apr 15 15:33:19 2015 -0400 +++ a/tools/profiler/core/platform-linux.cc Wed Apr 15 21:46:19 2015 +0200 @@ -701,10 +701,10 @@ { MOZ_ASSERT(aContext); ucontext_t* pContext = reinterpret_cast(aContext); - if (!getcontext(pContext)) { +/* if (!getcontext(pContext)) { context = pContext; SetSampleContext(this, aContext); - } + } */ } void OS::SleepMicro(int microseconds)