Home
last modified time | relevance | path

Searched refs:EventType (Results 1 – 19 of 19) sorted by relevance

/openbsd-src/gnu/llvm/compiler-rt/lib/tsan/rtl/
H A Dtsan_trace.h22 enum class EventType : u64 { enum
39 EventType type : 3;
45 static constexpr Event NopEvent = {1, 0, EventType::kAccessExt, 0};
85 EventType type : 3; // = EventType::kAccessExt
103 EventType type : 3; // = EventType::kAccessRange
126 EventType type : 3; // = EventType::kLock or EventType::kRLock
143 EventType type : 3; // = EventType::kUnlock
157 EventType type : 3; // = EventType::kTime
H A Dtsan_rtl_report.cpp373 case EventType::kTime: { in TraceReplay()
381 case EventType::kAccessExt: in TraceReplay()
383 case EventType::kAccessRange: in TraceReplay()
385 case EventType::kLock: in TraceReplay()
387 case EventType::kRLock: in TraceReplay()
391 case EventType::kUnlock: in TraceReplay()
432 bool RestoreStack(EventType type, Sid sid, Epoch epoch, uptr addr, uptr size, in RestoreStack()
498 if (evp->is_func == 0 && evp->type == EventType::kAccessExt && in RestoreStack()
509 if (match && type == EventType::kAccessExt && in RestoreStack()
531 case EventType::kAccessExt: { in RestoreStack()
[all …]
H A Dtsan_rtl_access.cpp44 evex->type = EventType::kAccessExt; in TryTraceMemoryAccess()
67 ev->type = EventType::kAccessRange; in TryTraceMemoryAccessRange()
105 void TraceMutexLock(ThreadState* thr, EventType type, uptr pc, uptr addr, in TraceMutexLock()
107 DCHECK(type == EventType::kLock || type == EventType::kRLock); in TraceMutexLock()
128 ev.type = EventType::kUnlock; in TraceMutexUnlock()
141 ev.type = EventType::kTime; in TraceTime()
H A Dtsan_rtl_mutex.cpp70 auto typ = write ? EventType::kLock : EventType::kRLock; in RecordMutexLock()
570 if (!RestoreStack(EventType::kLock, last_lock.sid(), last_lock.epoch(), addr, in ReportDestroyLocked()
H A Dtsan_rtl.h694 bool RestoreStack(EventType type, Sid sid, Epoch epoch, uptr addr, uptr size,
769 void TraceMutexLock(ThreadState *thr, EventType type, uptr pc, uptr addr,
H A Dtsan_rtl.cpp999 TraceMutexLock(thr, d.write ? EventType::kLock : EventType::kRLock, 0, in TraceSwitchPartImpl()
/openbsd-src/gnu/llvm/compiler-rt/lib/tsan/tests/unit/
H A Dtsan_trace_test.cpp77 TraceMutexLock(thr, EventType::kLock, 0x4000, 0x5000, 0x6000); in TRACE_TEST()
78 TraceMutexLock(thr, EventType::kLock, 0x4001, 0x5001, 0x6001); in TRACE_TEST()
82 TraceMutexLock(thr, EventType::kRLock, 0x4002, 0x5002, 0x6002); in TRACE_TEST()
96 bool res = RestoreStack(EventType::kAccessExt, thr->fast_state.sid(), in TRACE_TEST()
157 RestoreStack(EventType::kAccessExt, thr->fast_state.sid(), in TRACE_TEST()
174 TraceMutexLock(thr, EventType::kLock, 0x4000, 0x5000, 0x6000); in TRACE_TEST()
175 TraceMutexLock(thr, EventType::kRLock, 0x4001, 0x5001, 0x6001); in TRACE_TEST()
176 TraceMutexLock(thr, EventType::kRLock, 0x4002, 0x5001, 0x6002); in TRACE_TEST()
184 bool res = RestoreStack(EventType::kLock, thr->fast_state.sid(), in TRACE_TEST()
218 TraceMutexLock(thr, EventType::kRLock, 0x4001, 0x5001, 0x6001); in TRACE_TEST()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/IntelJITEvents/
H A DIntelJITEventsWrapper.h73 int iJIT_NotifyEvent(iJIT_JVM_EVENT EventType, void *EventSpecificData) { in iJIT_NotifyEvent() argument
76 return NotifyEventFunc(EventType, EventSpecificData); in iJIT_NotifyEvent()
79 int iJitIttNotifyInfo(IttEventType EventType, const char *Name, in iJitIttNotifyInfo() argument
83 return IttnotifyInfoFunc(EventType, Name, Size); in iJitIttNotifyInfo()
H A DIntelJITEventListener.cpp69 void reportSection(llvm::IttEventType EventType, const char *SectionName, in reportSection() argument
71 WrapperRef.iJitIttNotifyInfo(EventType, SectionName, SectionSize); in reportSection()
/openbsd-src/gnu/llvm/llvm/tools/llvm-jitlistener/
H A Dllvm-jitlistener.cpp42 int NotifyEvent(iJIT_JVM_EVENT EventType, void *EventSpecificData) { in NotifyEvent() argument
43 switch (EventType) { in NotifyEvent()
91 int ittNotifyInfo(IttEventType EventType, const char *Name, unsigned int Size) { in ittNotifyInfo() argument
92 switch (EventType) { in ittNotifyInfo()
/openbsd-src/gnu/llvm/compiler-rt/lib/xray/
H A Dxray_fdr_log_writer.h192 bool writeTypedEvent(int32_t Delta, uint16_t EventType, const void *Event,
198 EventSize, Delta, EventType);
H A Dxray_fdr_controller.h347 bool typedEvent(uint64_t TSC, uint16_t CPU, uint16_t EventType, in typedEvent() argument
358 return W.writeTypedEvent(Delta, EventType, Event, EventSize); in typedEvent()
H A Dxray_fdr_logging.cpp584 uint16_t EventType, const void *Event, in fdrLoggingHandleTypedEvent() argument
610 TLD.Controller->typedEvent(TSC, CPU, EventType, Event, ReducedEventSize); in fdrLoggingHandleTypedEvent()
/openbsd-src/lib/libcurses/tinfo/
H A Dlib_win32con.c899 if (pInpRec[i].EventType == KEY_EVENT) { in _nc_console_twait()
927 switch (inp_rec.EventType) { in _nc_console_twait()
967 T(("twait:event Tyoe %d", inp_rec.EventType)); in _nc_console_twait()
1045 if (inp_rec.EventType == KEY_EVENT) { in _nc_console_read()
1073 } else if (inp_rec.EventType == MOUSE_EVENT) { in _nc_console_read()
/openbsd-src/gnu/usr.bin/perl/cpan/Sys-Syslog/win32/
H A Dcompile.pl232 EventType => $priority2eventtype[$numpri],
H A DWin32.pm238 EventType => $priority2eventtype[$numpri],
/openbsd-src/gnu/llvm/llvm/include/llvm/XRay/
H A DFDRRecords.h265 uint16_t EventType = 0; variable
281 uint16_t eventType() const { return EventType; } in eventType()
/openbsd-src/gnu/llvm/llvm/lib/XRay/
H A DRecordInitializer.cpp272 R.EventType = E.getU16(&OffsetPtr); in visit()
/openbsd-src/gnu/usr.bin/perl/cpan/Term-ReadKey/
H A DReadKey.xs1635 switch(record.EventType) in Win32PeekChar()