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 | dcb98bd9b07dc2df45a5dbf37facea8a1a7039b6 (patch) | |
tree | 7eec490581784fe3eb40489ba656a68b0a29290c /docs/CommandGuide | |
parent | 17015f9a54d3ec660088563b27591dfaf0c28f8f (diff) |
[ProfileData] Add new option to dump topn hottest functions
Differential Revision: http://reviews.llvm.org/D35155
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@307702 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/CommandGuide')
-rw-r--r-- | docs/CommandGuide/llvm-profdata.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/CommandGuide/llvm-profdata.rst b/docs/CommandGuide/llvm-profdata.rst index f7aa8309485b..5b6330b5dc40 100644 --- a/docs/CommandGuide/llvm-profdata.rst +++ b/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. |