Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 570522 | Differences between
and this patch

Collapse All | Expand All

(-)a/tools/profiler/core/platform.h (-1 / +1 lines)
Lines 18-24 Link Here
18
18
19
// We need a definition of gettid(), but glibc doesn't provide a
19
// We need a definition of gettid(), but glibc doesn't provide a
20
// wrapper for it.
20
// wrapper for it.
21
#if defined(__GLIBC__)
21
#if 1
22
#include <unistd.h>
22
#include <unistd.h>
23
#include <sys/syscall.h>
23
#include <sys/syscall.h>
24
static inline pid_t gettid()
24
static inline pid_t gettid()
(-)a/tools/profiler/core/platform-linux.cc (-2 / +2 lines)
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
  if (!getcontext(pContext)) {
704
/*  if (!getcontext(pContext)) {
705
    context = pContext;
705
    context = pContext;
706
    SetSampleContext(this, aContext);
706
    SetSampleContext(this, aContext);
707
  }
707
  } */
708
}
708
}
709
709
710
void OS::SleepMicro(int microseconds)
710
void OS::SleepMicro(int microseconds)

Return to bug 570522