1 //===-- xray_basic_flags.inc ------------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // XRay runtime flags.
12 //===----------------------------------------------------------------------===//
14 #error "Define XRAY_FLAG prior to including this file!"
17 XRAY_FLAG(int, func_duration_threshold_us, 5,
18 "Basic logging will try to skip functions that execute for fewer "
19 "microseconds than this threshold.")
20 XRAY_FLAG(int, max_stack_depth, 64,
21 "Basic logging will keep track of at most this deep a call stack, "
22 "any more and the recordings will be dropped.")
23 XRAY_FLAG(int, thread_buffer_size, 1024,
24 "The number of entries to keep on a per-thread buffer.")