Home
last modified time | relevance | path

Searched refs:Tid (Results 1 – 25 of 31) sorted by relevance

12

/openbsd/src/gnu/llvm/llvm/lib/Support/
DTimeProfiler.cpp101 Tid(llvm::get_threadid()), TimeTraceGranularity(TimeTraceGranularity) { in TimeTraceProfiler()
164 auto writeEvent = [&](const auto &E, uint64_t Tid) { in write() argument
170 J.attribute("tid", int64_t(Tid)); in write()
181 writeEvent(E, this->Tid); in write()
184 writeEvent(E, TTP->Tid); in write()
189 uint64_t MaxTid = this->Tid; in write()
191 MaxTid = std::max(MaxTid, TTP->Tid); in write()
240 auto writeMetadataEvent = [&](const char *Name, uint64_t Tid, in write()
245 J.attribute("tid", int64_t(Tid)); in write()
253 writeMetadataEvent("process_name", Tid, ProcName); in write()
[all …]
/openbsd/src/gnu/llvm/compiler-rt/lib/tsan/rtl/
Dtsan_report.h77 Tid tid = kInvalidTid;
85 Tid id;
90 Tid parent_tid;
109 Vector<Tid> unique_tids;
Dtsan_rtl_thread.cpp24 ThreadContext::ThreadContext(Tid tid) : ThreadContextBase(tid), thr(), sync() {} in ThreadContext()
116 Tid ThreadCreate(ThreadState *thr, uptr pc, uptr uid, bool detached) { in ThreadCreate()
118 Tid parent = kInvalidTid; in ThreadCreate()
130 Tid tid = ctx->thread_registry.CreateThread(uid, detached, parent, &arg); in ThreadCreate()
152 void ThreadStart(ThreadState *thr, Tid tid, tid_t os_id, in ThreadStart()
284 Tid ThreadConsumeTid(ThreadState *thr, uptr pc, uptr uid) { in ThreadConsumeTid()
293 void ThreadJoin(ThreadState *thr, uptr pc, Tid tid) { in ThreadJoin()
316 void ThreadDetach(ThreadState *thr, uptr pc, Tid tid) { in ThreadDetach()
323 void ThreadNotJoined(ThreadState *thr, uptr pc, Tid tid, uptr uid) { in ThreadNotJoined()
344 Tid tid = ThreadCreate(thr, pc, 0, true); in FiberCreate()
Dtsan_rtl.h135 Tid tid;
201 const Tid tid;
236 explicit ThreadState(Tid tid);
266 explicit ThreadContext(Tid tid);
409 void AddMemoryAccess(uptr addr, uptr external_tag, Shadow s, Tid tid,
413 void AddThread(Tid tid, bool suppressable = false);
414 void AddUniqueTid(Tid unique_tid);
558 Tid ThreadCreate(ThreadState *thr, uptr pc, uptr uid, bool detached);
559 void ThreadStart(ThreadState *thr, Tid tid, tid_t os_id,
562 Tid ThreadConsumeTid(ThreadState *thr, uptr pc, uptr uid);
[all …]
Dtsan_rtl_report.cpp178 Tid tid, StackTrace stack, in AddMemoryAccess()
202 void ScopedReportBase::AddUniqueTid(Tid unique_tid) { in AddUniqueTid()
226 static ThreadContext *FindThreadByTidLocked(Tid tid) { in FindThreadByTidLocked()
257 void ScopedReportBase::AddThread(Tid tid, bool suppressable) { in AddThread()
282 Tid creat_tid = kInvalidTid; in AddLocation()
433 AccessType typ, Tid *ptid, VarSizeStackTrace *pstk, in RestoreStack()
444 Tid tid = kInvalidTid; in RestoreStack()
754 Tid tids[kMop] = {thr->tid, kInvalidTid}; in ReportRace()
808 Tid parent_tid = rep_desc->threads[i]->parent_tid; in ReportRace()
Dtsan_platform_mac.cpp81 const_cast<Tid &>(dts->tid) = kInvalidTid; in InitializeThreadStateStorage()
211 Tid tid = ThreadCreate(parent_thread_state, 0, (uptr)thread, true); in ThreadCreateCallback()
Dtsan_fd.h57 bool FdLocation(uptr addr, int *fd, Tid *tid, StackID *stack, bool *closed);
Dtsan_sync.h58 Tid owner_tid; // Set only by exclusive owners.
Dtsan_defs.h187 Tid tid;
Dtsan_fd.cpp35 Tid creation_tid;
160 bool FdLocation(uptr addr, int *fd, Tid *tid, StackID *stack, bool *closed) { in FdLocation()
Dtsan_rtl.cpp144 static_cast<Tid>(i)); in DoResetImpl()
386 thread_registry([](Tid tid) -> ThreadContextBase* { in Context()
406 ThreadState::ThreadState(Tid tid) in ThreadState()
729 Tid tid = ThreadCreate(nullptr, 0, 0, true); in Initialize()
Dtsan_report.cpp55 const char *thread_name(char *buf, Tid tid) { in thread_name()
384 const Tid kMainGoroutineId = 1;
Dtsan_interceptors_posix.cpp1010 Tid tid;
1106 Tid tid = ThreadConsumeTid(thr, pc, (uptr)th); in TSAN_INTERCEPTOR()
1120 Tid tid = ThreadConsumeTid(thr, pc, (uptr)th); in TSAN_INTERCEPTOR()
1141 Tid tid = ThreadConsumeTid(thr, pc, (uptr)th); in TSAN_INTERCEPTOR()
1155 Tid tid = ThreadConsumeTid(thr, pc, (uptr)th); in TSAN_INTERCEPTOR()
/openbsd/src/gnu/llvm/compiler-rt/lib/safestack/
Dsafestack_platform.h73 long Tid; in GetTid()
74 thr_self(&Tid); in GetTid()
75 return Tid; in GetTid()
/openbsd/src/gnu/llvm/compiler-rt/lib/tsan/tests/unit/
Dtsan_trace_test.cpp40 Tid tid = ThreadCreate(cur_thread(), 0, 0, true); in ThreadArray()
92 Tid tid = kInvalidTid; in TRACE_TEST()
152 Tid tid = kInvalidTid; in TRACE_TEST()
180 Tid tid = kInvalidTid; in TRACE_TEST()
223 Tid tid = kInvalidTid; in TRACE_TEST()
/openbsd/src/gnu/llvm/compiler-rt/lib/sanitizer_common/
Dsanitizer_internal_defs.h430 typedef u32 Tid; typedef
431 constexpr Tid kInvalidTid = -1;
432 constexpr Tid kMainTid = 0;
Dsanitizer_thread_registry.h158 DenseMap<uptr, Tid> live_;
Dsanitizer_linux.cpp556 long Tid; in GetTid() local
557 thr_self(&Tid); in GetTid()
558 return Tid; in GetTid()
/openbsd/src/gnu/llvm/llvm/lib/ExecutionEngine/PerfJITEvents/
DPerfJITEventListener.cpp140 uint32_t Tid; member
423 rec.Tid = get_threadid(); in NotifyCode()
/openbsd/src/gnu/usr.bin/perl/dist/threads/t/
Dbasic.t108 ok(16, threads->tid() == 9, "Tid should be correct in the clone");
/openbsd/src/gnu/llvm/compiler-rt/lib/tsan/go/
Dtsan_go.cpp223 Tid goid = ThreadCreate(parent, (uptr)pc, 0, true); in __tsan_go_start()
/openbsd/src/sys/stand/efi/include/
Defidevp.h211 UINT32 Tid; member
/openbsd/src/gnu/llvm/llvm/docs/
DGettingInvolved.rst286 …MxNzU4MWYtYzViNS00OTM2LWJmNWQtMjg5ZWFhNGVjNzgw%40thread.v2/0?context=%7b%22Tid%22%3a%22a722dec9-ae…
311 …RmN2UwYTgtODdiOS00N2VkLTgxZjgtNDUxYjI3YmNkM2Ri%40thread.v2/0?context=%7b%22Tid%22%3a%2246c98d88-e3…
329 …Q0MjU0NjYtZjUyMi00YTU3LThmM2EtY2Y2YTE4NGM3NmFi%40thread.v2/0?context=%7b%22Tid%22%3a%2246c98d88-e3…
/openbsd/src/gnu/llvm/compiler-rt/lib/scudo/standalone/
Dcombined.h1297 u32 Tid = getThreadID(); in storeSecondaryAllocationStackMaybe() local
1301 Ptr32[MemTagAllocationTidIndex] = Tid; in storeSecondaryAllocationStackMaybe()
1303 storeRingBufferEntry(untagPointer(Ptr), Trace, Tid, Size, 0, 0); in storeSecondaryAllocationStackMaybe()
/openbsd/src/gnu/llvm/llvm/lib/Transforms/IPO/
DOpenMPOpt.cpp3798 CallInst *Tid = in insertInstructionGuardsHelper() local
3800 Tid->setDebugLoc(DL); in insertInstructionGuardsHelper()
3801 OMPInfoCache.setCallingConvention(HardwareTidFn, Tid); in insertInstructionGuardsHelper()
3802 Value *TidCheck = OMPInfoCache.OMPBuilder.Builder.CreateIsNull(Tid); in insertInstructionGuardsHelper()
3815 OMPInfoCache.OMPBuilder.Builder.CreateCall(BarrierFn, {Ident, Tid}); in insertInstructionGuardsHelper()
3821 CallInst *Barrier = CallInst::Create(BarrierFn, {Ident, Tid}, "", in insertInstructionGuardsHelper()

12