summaryrefslogtreecommitdiff
path: root/utils/perf-training
diff options
context:
space:
mode:
authorChris Bieneman <beanz@apple.com>2016-04-13 17:12:56 +0000
committerChris Bieneman <beanz@apple.com>2016-04-13 17:12:56 +0000
commit8a4cb5943adc2e54a86134616da9cdde00851cab (patch)
tree6152ea86b0aaaaa53eee8fe13bcdee8e8a0df72b /utils/perf-training
parent4329eca357ee23753ccf00c9c0602d216739dee9 (diff)
downloadclang-8a4cb5943adc2e54a86134616da9cdde00851cab.tar.gz
[OrderFiles] Don't allow lit to run dtrace multithreaded
Dtrace is implemented to try and minimize performance impact on the process being traced. This results in dtrace dropping samples if it is taking too many CPU resources. Multi-threading dtrace increases the sample drop rate dramatically. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@266213 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/perf-training')
-rw-r--r--utils/perf-training/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/perf-training/CMakeLists.txt b/utils/perf-training/CMakeLists.txt
index f8647a0e44..07d9024610 100644
--- a/utils/perf-training/CMakeLists.txt
+++ b/utils/perf-training/CMakeLists.txt
@@ -48,6 +48,7 @@ if(DTRACE)
add_lit_testsuite(generate-dtrace-logs "Generating clang dtrace data"
${CMAKE_CURRENT_BINARY_DIR}/order-files/
+ ARGS -j 1
DEPENDS clang clear-dtrace-logs
)