Deleted Added
full compact
xray_basic_flags.inc (341825) xray_basic_flags.inc (353358)
1//===-- xray_basic_flags.inc ------------------------------------*- C++ -*-===//
2//
1//===-- xray_basic_flags.inc ------------------------------------*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
4//
6//
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.")
7//===----------------------------------------------------------------------===//
8//
9// XRay runtime flags.
10//
11//===----------------------------------------------------------------------===//
12#ifndef XRAY_FLAG
13#error "Define XRAY_FLAG prior to including this file!"
14#endif
15
16XRAY_FLAG(int, func_duration_threshold_us, 5,
17 "Basic logging will try to skip functions that execute for fewer "
18 "microseconds than this threshold.")
19XRAY_FLAG(int, max_stack_depth, 64,
20 "Basic logging will keep track of at most this deep a call stack, "
21 "any more and the recordings will be dropped.")
22XRAY_FLAG(int, thread_buffer_size, 1024,
23 "The number of entries to keep on a per-thread buffer.")