diff options
author | Rong Xu <xur@google.com> | 2019-01-07 23:25:56 +0000 |
---|---|---|
committer | Rong Xu <xur@google.com> | 2019-01-07 23:25:56 +0000 |
commit | 6f366c3a040e3bdc6756d455b0b82996cd5822ef (patch) | |
tree | 8866195a9e78c6ed87df325942ad8544e2286073 /llvm/docs/CommandGuide/llvm-profdata.rst | |
parent | bf1fdb852f936ca7c8493c063d6f14ae552fb86f (diff) | |
download | bcm5719-llvm-6f366c3a040e3bdc6756d455b0b82996cd5822ef.tar.gz bcm5719-llvm-6f366c3a040e3bdc6756d455b0b82996cd5822ef.zip |
[PGO] Use SourceFileName rather module name in PGOFuncName
In LTO or Thin-lto mode (though linker plugin), the module
names are of temp file names which are different for
different compilations. Using SourceFileName avoids the issue.
This should not change any functionality for current PGO as
all the current callers of getPGOFuncName() is before LTO.
llvm-svn: 350579
Diffstat (limited to 'llvm/docs/CommandGuide/llvm-profdata.rst')
-rw-r--r-- | llvm/docs/CommandGuide/llvm-profdata.rst | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/llvm/docs/CommandGuide/llvm-profdata.rst b/llvm/docs/CommandGuide/llvm-profdata.rst index 96c91e309d7..f66fb499697 100644 --- a/llvm/docs/CommandGuide/llvm-profdata.rst +++ b/llvm/docs/CommandGuide/llvm-profdata.rst @@ -203,7 +203,7 @@ OPTIONS annotations. .. option:: -topn=n - + Instruct the profile dumper to show the top ``n`` functions with the hottest basic blocks in the summary section. By default, the topn functions are not dumped. @@ -216,6 +216,16 @@ OPTIONS Show the profiled sizes of the memory intrinsic calls for shown functions. +.. option:: -value-cutoff=n + + Show only those functions whose max count values are greater or equal to ``n``. + By default, the value-cutoff is set to 0. + +.. option:: -list-below-cutoff + + Only output names of functions whose max count value are below the cutoff + value. + EXIT STATUS ----------- |