Home
last modified time | relevance | path

Searched refs:MemprofThreadContext (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_thread.cpp27 void MemprofThreadContext::OnCreated(void *arg) { in OnCreated()
35 void MemprofThreadContext::OnFinished() { in OnFinished()
48 return new (allocator_for_thread_context) MemprofThreadContext(tid); in GetMemprofThreadContext()
67 MemprofThreadContext *GetThreadContextByTidLocked(u32 tid) { in GetThreadContextByTidLocked()
68 return static_cast<MemprofThreadContext *>( in GetThreadContextByTidLocked()
82 MemprofThreadContext::CreateThreadContextArgs args = {thread, stack}; in Create()
89 MemprofThreadContext *context = (MemprofThreadContext *)tsd; in TSDDtor()
191 MemprofThreadContext *context = in GetCurrentThread()
192 reinterpret_cast<MemprofThreadContext *>(TSDGet()); in GetCurrentThread()
214 MemprofThreadContext *context = in EnsureMainThreadIDIsCorrect()
[all …]
H A Dmemprof_thread.h34 struct MemprofThreadContext final : public ThreadContextBase {
35 explicit MemprofThreadContext(int tid) in MemprofThreadContext() function
54 COMPILER_CHECK(sizeof(MemprofThreadContext) <= 256);
78 MemprofThreadContext *context() { return context_; } in context()
79 void set_context(MemprofThreadContext *context) { context_ = context; } in set_context()
104 MemprofThreadContext *context_;
124 MemprofThreadContext *GetThreadContextByTidLocked(u32 tid);
H A Dmemprof_descriptions.cpp22 MemprofThreadIdAndName::MemprofThreadIdAndName(MemprofThreadContext *t) { in MemprofThreadIdAndName()
31 MemprofThreadContext *t = GetThreadContextByTidLocked(tid); in MemprofThreadIdAndName()
43 void DescribeThread(MemprofThreadContext *context) { in DescribeThread()
64 MemprofThreadContext *parent_context = in DescribeThread()
H A Dmemprof_descriptions.h23 void DescribeThread(MemprofThreadContext *context);
31 explicit MemprofThreadIdAndName(MemprofThreadContext *t);
H A Dmemprof_posix.cpp47 MemprofThreadContext *context = (MemprofThreadContext *)tsd; in PlatformTSDDtor()
H A Dmemprof_stats.cpp76 MemprofThreadContext *tctx = static_cast<MemprofThreadContext *>(tctx_base); in MergeThreadStats()