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

/openbsd-current/gnu/llvm/compiler-rt/lib/memprof/
H A Dmemprof_descriptions.h23 void DescribeThread(MemprofThreadContext *context);
31 explicit MemprofThreadIdAndName(MemprofThreadContext *t);
H A Dmemprof_thread.h34 struct MemprofThreadContext final : public ThreadContextBase {
35 explicit MemprofThreadContext(int tid) function in struct:__memprof::final
53 // MemprofThreadContext objects are never freed, so we need many of them.
54 COMPILER_CHECK(sizeof(MemprofThreadContext) <= 256);
78 MemprofThreadContext *context() { return context_; }
79 void set_context(MemprofThreadContext *context) { context_ = context; }
104 MemprofThreadContext *context_;
124 MemprofThreadContext *GetThreadContextByTidLocked(u32 tid);
H A Dmemprof_posix.cpp47 MemprofThreadContext *context = (MemprofThreadContext *)tsd;
H A Dmemprof_descriptions.cpp22 MemprofThreadIdAndName::MemprofThreadIdAndName(MemprofThreadContext *t) {
31 MemprofThreadContext *t = GetThreadContextByTidLocked(tid);
43 void DescribeThread(MemprofThreadContext *context) {
64 MemprofThreadContext *parent_context =
H A Dmemprof_thread.cpp25 // MemprofThreadContext implementation.
27 void MemprofThreadContext::OnCreated(void *arg) {
35 void MemprofThreadContext::OnFinished() {
48 return new (allocator_for_thread_context) MemprofThreadContext(tid);
56 // Never reuse MemProf threads: we store pointer to MemprofThreadContext
58 // be called. It would be wrong to reuse MemprofThreadContext for another
67 MemprofThreadContext *GetThreadContextByTidLocked(u32 tid) {
68 return static_cast<MemprofThreadContext *>(
82 MemprofThreadContext::CreateThreadContextArgs args = {thread, stack};
89 MemprofThreadContext *contex
[all...]
H A Dmemprof_stats.cpp76 MemprofThreadContext *tctx = static_cast<MemprofThreadContext *>(tctx_base);

Completed in 117 milliseconds