Searched refs:MemprofThread (Results 1 – 10 of 10) sorted by relevance
/freebsd/contrib/llvm-project/compiler-rt/lib/memprof/ |
H A D | memprof_thread.cpp | 74 MemprofThread *MemprofThread::Create(thread_callback_t start_routine, void *arg, in Create() 78 uptr size = RoundUpTo(sizeof(MemprofThread), PageSize); in Create() 79 MemprofThread *thread = (MemprofThread *)MmapOrDie(size, __func__); in Create() 88 void MemprofThread::TSDDtor(void *tsd) { in TSDDtor() 95 void MemprofThread::Destroy() { in Destroy() 102 uptr size = RoundUpTo(sizeof(MemprofThread), GetPageSizeCached()); in Destroy() 107 inline MemprofThread::StackBounds MemprofThread::GetStackBounds() const { in GetStackBounds() 113 uptr MemprofThread::stack_top() { return GetStackBounds().top; } in stack_top() 115 uptr MemprofThread::stack_bottom() { return GetStackBounds().bottom; } in stack_bottom() 117 uptr MemprofThread::stack_size() { in stack_size() [all …]
|
H A D | memprof_thread.h | 30 class MemprofThread; variable 42 MemprofThread *thread; 48 MemprofThread *thread; 57 class MemprofThread { 59 static MemprofThread *Create(thread_callback_t start_routine, void *arg, 127 MemprofThread *GetCurrentThread(); 128 void SetCurrentThread(MemprofThread *t);
|
H A D | memprof_interceptors.cpp | 37 MemprofThread *t = GetCurrentThread(); in SetThreadName() 96 if (MemprofThread *t = GetCurrentThread()) { \ 126 MemprofThread *t = nullptr; in memprof_thread_start() 127 while ((t = reinterpret_cast<MemprofThread *>( in memprof_thread_start() 154 MemprofThread *t = MemprofThread::Create(start_routine, arg, current_tid, in INTERCEPTOR()
|
H A D | memprof_internal.h | 44 class MemprofThread; variable 62 MemprofThread *CreateMainThread();
|
H A D | memprof_stats.cpp | 77 if (MemprofThread *t = tctx->thread) in MergeThreadStats() 108 MemprofThread *t = GetCurrentThread(); in GetCurrentThreadStats()
|
H A D | memprof_descriptions.h | 24 inline void DescribeThread(MemprofThread *t) { in DescribeThread()
|
H A D | memprof_posix.cpp | 53 MemprofThread::TSDDtor(tsd); in PlatformTSDDtor()
|
H A D | memprof_stack.cpp | 40 MemprofThread *t = GetCurrentThread(); in UnwindImpl()
|
H A D | memprof_rtl.cpp | 220 MemprofThread *main_thread = CreateMainThread(); in MemprofInitInternal()
|
H A D | memprof_allocator.cpp | 447 MemprofThread *t = GetCurrentThread(); in Allocate() 535 MemprofThread *t = GetCurrentThread(); in Deallocate()
|