summaryrefslogtreecommitdiffstats
path: root/clang/utils
diff options
context:
space:
mode:
authorXin-Xin Wang <get@xin-xin.me>2019-12-17 11:05:35 -0800
committerAlex Langford <apl@fb.com>2019-12-17 12:12:21 -0800
commitb3f789e037cbfdb1439c01a4eefc9ab9bb0d2c64 (patch)
treeb8e159e786cc7510c0252897835a6291ce8ad6ca /clang/utils
parent1e89188d3537d419f6bdc3276ab8848adf6752f5 (diff)
downloadbcm5719-llvm-b3f789e037cbfdb1439c01a4eefc9ab9bb0d2c64.tar.gz
bcm5719-llvm-b3f789e037cbfdb1439c01a4eefc9ab9bb0d2c64.zip
[perf-training] Change profile file pattern string to use %4m instead of %p
Summary: With %p, each test file that we're using to generate profile data will make its own profraw file which is around 60 MB in size. If we have a lot of test files, that quickly uses a lot of space. Use %4m instead to share the profraw files used to store the profile data. We use 4 here based on the default value in https://reviews.llvm.org/source/llvm-github/browse/master/llvm/CMakeLists.txt$604 Reviewers: beanz, phosek, xiaobai, smeenai, vsk Reviewed By: vsk Subscribers: vsk, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D71585
Diffstat (limited to 'clang/utils')
-rw-r--r--clang/utils/perf-training/lit.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/utils/perf-training/lit.cfg b/clang/utils/perf-training/lit.cfg
index 67a42345da4..e5b7162e590 100644
--- a/clang/utils/perf-training/lit.cfg
+++ b/clang/utils/perf-training/lit.cfg
@@ -37,5 +37,5 @@ config.substitutions.append( ('%clang_skip_driver', ' %s %s %s ' % (cc1_wrapper,
config.substitutions.append( ('%clang', ' %s %s ' % (config.clang, sysroot_flags) ) )
config.substitutions.append( ('%test_root', config.test_exec_root ) )
-config.environment['LLVM_PROFILE_FILE'] = 'perf-training-%p.profraw'
+config.environment['LLVM_PROFILE_FILE'] = 'perf-training-%4m.profraw'
OpenPOWER on IntegriCloud