Home
last modified time | relevance | path

Searched refs:EventSize (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_fdr_log_writer.h167 bool writeCustomEvent(int32_t Delta, const void *Event, int32_t EventSize) {
175 EventSize, Delta);
180 internal_memcpy(NextRecord, Event, EventSize)) +
181 EventSize;
187 atomic_fetch_add(Buffer.Extents, sizeof(R) + EventSize,
193 int32_t EventSize) {
198 EventSize, Delta, EventType);
203 internal_memcpy(NextRecord, Event, EventSize)) +
204 EventSize;
210 atomic_fetch_add(Buffer.Extents, EventSize, memory_order_acq_rel);
H A Dxray_fdr_controller.h334 int32_t EventSize) XRAY_NEVER_INSTRUMENT { in customEvent() argument
336 !prepareBuffer((2 * sizeof(MetadataRecord)) + EventSize) || in customEvent()
344 return W.writeCustomEvent(Delta, Event, EventSize); in customEvent()
348 const void *Event, int32_t EventSize) XRAY_NEVER_INSTRUMENT { in typedEvent() argument
350 !prepareBuffer((2 * sizeof(MetadataRecord)) + EventSize) || in typedEvent()
358 return W.writeTypedEvent(Delta, EventType, Event, EventSize); in typedEvent()
H A Dxray_fdr_logging.cpp552 std::size_t EventSize) XRAY_NEVER_INSTRUMENT { in fdrLoggingHandleCustomEvent() argument
562 if (EventSize > in fdrLoggingHandleCustomEvent()
576 int32_t ReducedEventSize = static_cast<int32_t>(EventSize); in fdrLoggingHandleCustomEvent()
581 size_t EventSize) noexcept in fdrLoggingHandleTypedEvent() argument
592 if (EventSize > in fdrLoggingHandleTypedEvent()
606 int32_t ReducedEventSize = static_cast<int32_t>(EventSize); in fdrLoggingHandleTypedEvent()