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 | 28 thread = static_cast<MemprofThread *>(arg); in OnCreated() 71 MemprofThread *MemprofThread::Create(thread_callback_t start_routine, void *arg, in Create() 75 uptr size = RoundUpTo(sizeof(MemprofThread), PageSize); in Create() 76 MemprofThread *thread = (MemprofThread *)MmapOrDie(size, __func__); in Create() 85 void MemprofThread::TSDDtor(void *tsd) { in TSDDtor() 92 void MemprofThread::Destroy() { in Destroy() 99 uptr size = RoundUpTo(sizeof(MemprofThread), GetPageSizeCached()); in Destroy() 104 inline MemprofThread::StackBounds MemprofThread::GetStackBounds() const { in GetStackBounds() 110 uptr MemprofThread::stack_top() { return GetStackBounds().top; } in stack_top() 112 uptr MemprofThread::stack_bottom() { return GetStackBounds().bottom; } in stack_bottom() [all …]
|
| H A D | memprof_thread.h | 30 class MemprofThread; variable 41 MemprofThread *thread; 51 class MemprofThread { 53 static MemprofThread *Create(thread_callback_t start_routine, void *arg, 121 MemprofThread *GetCurrentThread(); 122 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 | 219 MemprofThread *main_thread = CreateMainThread(); in MemprofInitInternal()
|
| H A D | memprof_allocator.cpp | 447 MemprofThread *t = GetCurrentThread(); in Allocate() 535 MemprofThread *t = GetCurrentThread(); in Deallocate()
|