diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/xray/xray_log_interface.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/xray/xray_log_interface.h b/include/xray/xray_log_interface.h index 7be9a4a6f..864cfd981 100644 --- a/include/xray/xray_log_interface.h +++ b/include/xray/xray_log_interface.h @@ -223,12 +223,19 @@ XRayLogFlushStatus __xray_log_flushLog(); namespace __xray { -// Options used by the LLVM XRay FDR implementation. +/// Options used by the LLVM XRay FDR logging implementation. struct FDRLoggingOptions { bool ReportErrors = false; int Fd = -1; }; +/// Options used by the LLVM XRay Basic (Naive) logging implementation. +struct BasicLoggingOptions { + int DurationFilterMicros = 0; + size_t MaxStackDepth = 0; + size_t ThreadBufferSize = 0; +}; + } // namespace __xray #endif // XRAY_XRAY_LOG_INTERFACE_H |