Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_basic_logging.cpp78 struct BasicLoggingOptions GlobalOptions; variable
127 if (GlobalOptions.ThreadBufferSize == 0) { in getThreadLocalData()
135 InternalAlloc(sizeof(XRayRecord) * GlobalOptions.ThreadBufferSize, in getThreadLocalData()
137 TLD.BufferSize = GlobalOptions.ThreadBufferSize; in getThreadLocalData()
139 if (GlobalOptions.MaxStackDepth == 0) { in getThreadLocalData()
148 InternalAlloc(sizeof(StackEntry) * GlobalOptions.MaxStackDepth, nullptr, in getThreadLocalData()
150 TLD.StackSize = GlobalOptions.MaxStackDepth; in getThreadLocalData()
418 GlobalOptions.ThreadBufferSize = F.thread_buffer_size; in basicLoggingInit()
419 GlobalOptions.DurationFilterMicros = F.func_duration_threshold_us; in basicLoggingInit()
420 GlobalOptions.MaxStackDepth = F.max_stack_depth; in basicLoggingInit()
[all …]