Home
last modified time | relevance | path

Searched refs:XRayLogFlushStatus (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/include/xray/
H A Dxray_log_interface.h137 enum XRayLogFlushStatus { enum
194 XRayLogFlushStatus (*flush_log)();
305 XRayLogFlushStatus __xray_log_flushLog();
352 XRayLogFlushStatus __xray_log_process_buffers(void (*Processor)(const char *,
/freebsd/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_profiling.cpp35 XRayLogFlushStatus::XRAY_LOG_NOT_FLUSHING};
204 XRayLogFlushStatus profilingFlush() XRAY_NEVER_INSTRUMENT { in profilingFlush()
209 return XRayLogFlushStatus::XRAY_LOG_NOT_FLUSHING; in profilingFlush()
217 XRayLogFlushStatus::XRAY_LOG_NOT_FLUSHING, in profilingFlush()
219 return XRayLogFlushStatus::XRAY_LOG_NOT_FLUSHING; in profilingFlush()
223 XRayLogFlushStatus::XRAY_LOG_FLUSHING, in profilingFlush()
225 if (Previous == XRayLogFlushStatus::XRAY_LOG_FLUSHING) { in profilingFlush()
228 return XRayLogFlushStatus::XRAY_LOG_FLUSHING; in profilingFlush()
260 atomic_store(&ProfilerLogFlushStatus, XRayLogFlushStatus::XRAY_LOG_FLUSHED, in profilingFlush()
265 return XRayLogFlushStatus::XRAY_LOG_FLUSHED; in profilingFlush()
H A Dxray_fdr_logging.cpp86 XRayLogFlushStatus::XRAY_LOG_NOT_FLUSHING};
276 XRayLogFlushStatus fdrLoggingFlush() XRAY_NEVER_INSTRUMENT { in fdrLoggingFlush()
281 return XRayLogFlushStatus::XRAY_LOG_NOT_FLUSHING; in fdrLoggingFlush()
284 if (atomic_exchange(&LogFlushStatus, XRayLogFlushStatus::XRAY_LOG_FLUSHING, in fdrLoggingFlush()
286 XRayLogFlushStatus::XRAY_LOG_FLUSHING) { in fdrLoggingFlush()
289 return XRayLogFlushStatus::XRAY_LOG_NOT_FLUSHING; in fdrLoggingFlush()
295 return XRayLogFlushStatus::XRAY_LOG_NOT_FLUSHING; in fdrLoggingFlush()
323 atomic_store(&LogFlushStatus, XRayLogFlushStatus::XRAY_LOG_FLUSHED, in fdrLoggingFlush()
325 return XRayLogFlushStatus::XRAY_LOG_FLUSHED; in fdrLoggingFlush()
339 auto Result = XRayLogFlushStatus::XRAY_LOG_NOT_FLUSHING; in fdrLoggingFlush()
[all …]
H A Dxray_log_interface.cpp187 XRayLogFlushStatus __xray_log_flushLog() XRAY_NEVER_INSTRUMENT { in __xray_log_flushLog()
190 return XRayLogFlushStatus::XRAY_LOG_NOT_FLUSHING; in __xray_log_flushLog()
194 XRayLogFlushStatus __xray_log_process_buffers( in __xray_log_process_buffers()
199 return XRayLogFlushStatus::XRAY_LOG_NOT_FLUSHING; in __xray_log_process_buffers()
208 return XRayLogFlushStatus::XRAY_LOG_FLUSHED; in __xray_log_process_buffers()
H A Dxray_fdr_logging.h33 XRayLogFlushStatus fdrLoggingFlush();
H A Dxray_basic_logging.h37 XRayLogFlushStatus basicLoggingFlush();
H A Dxray_basic_logging.cpp455 XRayLogFlushStatus basicLoggingFlush() XRAY_NEVER_INSTRUMENT { in basicLoggingFlush()
458 return XRayLogFlushStatus::XRAY_LOG_FLUSHED; in basicLoggingFlush()