diff options
author | Xinliang David Li <davidxl@google.com> | 2017-07-11 20:30:43 +0000 |
---|---|---|
committer | Xinliang David Li <davidxl@google.com> | 2017-07-11 20:30:43 +0000 |
commit | 801b5319c593250fe4c0cb3e56fa11e29f5f6b19 (patch) | |
tree | 23e1cd616569bb2d58be5bcb4df4ee01979c0981 /llvm/docs/CommandGuide/llvm-profdata.rst | |
parent | f84c2fc51aa00c1a1383428afd5818e96b82eafb (diff) | |
download | bcm5719-llvm-801b5319c593250fe4c0cb3e56fa11e29f5f6b19.tar.gz bcm5719-llvm-801b5319c593250fe4c0cb3e56fa11e29f5f6b19.zip |
[ProfileData] Add new option to dump topn hottest functions
Differential Revision: http://reviews.llvm.org/D35155
llvm-svn: 307702
Diffstat (limited to 'llvm/docs/CommandGuide/llvm-profdata.rst')
-rw-r--r-- | llvm/docs/CommandGuide/llvm-profdata.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/docs/CommandGuide/llvm-profdata.rst b/llvm/docs/CommandGuide/llvm-profdata.rst index f7aa8309485..5b6330b5dc4 100644 --- a/llvm/docs/CommandGuide/llvm-profdata.rst +++ b/llvm/docs/CommandGuide/llvm-profdata.rst @@ -192,6 +192,12 @@ OPTIONS information is dumped in a more human readable form (also in text) with 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. + .. option:: -sample Specify that the input profile is a sample-based profile. |