Skip to content

Commit

Permalink
[OrderFiles] Don't allow lit to run dtrace multithreaded
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Chris Bieneman committed Apr 13, 2016
1 parent 4329eca commit 8a4cb59
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions utils/perf-training/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
)

Expand Down

0 comments on commit 8a4cb59

Please sign in to comment.