diff options
author | Jeremy Morse <jeremy.morse.llvm@gmail.com> | 2018-07-25 14:48:53 +0000 |
---|---|---|
committer | Jeremy Morse <jeremy.morse.llvm@gmail.com> | 2018-07-25 14:48:53 +0000 |
commit | 3f26278f4933c190ef70b1c23229bd806474b360 (patch) | |
tree | b4724de90f80f76eb79d9ce0f3392cb33de4d37f /test/xray | |
parent | be88971917d964d5e061a81c26ce94f66d98cf38 (diff) |
[XRay tests] Don't filter test-critical calls
By default, xray filters events that takes less than 5uS from its log.
In this existing test, should printf complete very quickly this will
lead to test-critical function calls being filtered (i.e. print_parent_tid).
Given that we're not testing the filtering feature, disable it for this
test.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@337929 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/xray')
-rw-r--r-- | test/xray/TestCases/Posix/fork_basic_logging.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/xray/TestCases/Posix/fork_basic_logging.cc b/test/xray/TestCases/Posix/fork_basic_logging.cc index 8c6855e1c..5aefdec08 100644 --- a/test/xray/TestCases/Posix/fork_basic_logging.cc +++ b/test/xray/TestCases/Posix/fork_basic_logging.cc @@ -2,7 +2,7 @@ // RUN: %clangxx_xray -g -std=c++11 %s -o %t // RUN: rm -f fork-basic-logging-test-* // RUN: XRAY_OPTIONS="patch_premain=true xray_logfile_base=fork-basic-logging-test- \ -// RUN: xray_mode=xray-basic verbosity=1" \ +// RUN: xray_mode=xray-basic verbosity=1 xray_naive_log_func_duration_threshold_us=0" \ // RUN: %run %t 2>&1 | FileCheck %s // RUN: %llvm_xray convert --symbolize --output-format=yaml -instr_map=%t \ // RUN: "`ls -S fork-basic-logging-test-* | head -1`" \ |