1//===-- xray_basic_flags.inc ------------------------------------*- C++ -*-===//
2//
3//                     The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9//
10// XRay runtime flags.
11//
12//===----------------------------------------------------------------------===//
13#ifndef XRAY_FLAG
14#error "Define XRAY_FLAG prior to including this file!"
15#endif
16
17XRAY_FLAG(int, func_duration_threshold_us, 5,
18          "Basic logging will try to skip functions that execute for fewer "
19          "microseconds than this threshold.")
20XRAY_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.")
23XRAY_FLAG(int, thread_buffer_size, 1024,
24          "The number of entries to keep on a per-thread buffer.")
25