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 | 63c153edb2c77dfdf8c3c4a38e2bb7930d21abf5 (patch) | |
tree | ecdf868528f4e5a26187da7b6bf2e17931e8b36a | |
parent | 86ec3fe950a142d073e960138123e97333dcdf66 (diff) | |
download | bcm5719-llvm-63c153edb2c77dfdf8c3c4a38e2bb7930d21abf5.tar.gz bcm5719-llvm-63c153edb2c77dfdf8c3c4a38e2bb7930d21abf5.zip |
[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.
llvm-svn: 337929
-rw-r--r-- | compiler-rt/test/xray/TestCases/Posix/fork_basic_logging.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/xray/TestCases/Posix/fork_basic_logging.cc b/compiler-rt/test/xray/TestCases/Posix/fork_basic_logging.cc index 8c6855e1cf8..5aefdec0801 100644 --- a/compiler-rt/test/xray/TestCases/Posix/fork_basic_logging.cc +++ b/compiler-rt/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`" \ |