diff options
| author | Xin-Xin Wang <get@xin-xin.me> | 2019-12-17 11:05:35 -0800 |
|---|---|---|
| committer | Alex Langford <apl@fb.com> | 2019-12-17 12:12:21 -0800 |
| commit | b3f789e037cbfdb1439c01a4eefc9ab9bb0d2c64 (patch) | |
| tree | b8e159e786cc7510c0252897835a6291ce8ad6ca /clang/utils | |
| parent | 1e89188d3537d419f6bdc3276ab8848adf6752f5 (diff) | |
| download | bcm5719-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.cfg | 2 |
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' |

