diff options
author | Xinliang David Li <davidxl@google.com> | 2015-11-23 20:47:38 +0000 |
---|---|---|
committer | Xinliang David Li <davidxl@google.com> | 2015-11-23 20:47:38 +0000 |
commit | 55f78334c142356bff6a35670e336fad1f11b62b (patch) | |
tree | 3810b76d0f8eb8270a32af0cafdb7a680b4d668b /docs | |
parent | df79221070e72b2fc5e01dccaa5875602d7073d2 (diff) |
[PGO] Add --text option for llvm-profdata show|merge commands
The new option is similar to the SampleProfile dump option.
- dump raw/indexed format into text profile format
- merge the profile and output into text profile format.
Note that Value Profiling data text format is not yet designed.
That functionality will be added later.
Differential Revision: http://reviews.llvm.org/D14894
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253913 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r-- | docs/CommandGuide/llvm-profdata.rst | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/docs/CommandGuide/llvm-profdata.rst b/docs/CommandGuide/llvm-profdata.rst index 7053b7fa710..1d46fe75467 100644 --- a/docs/CommandGuide/llvm-profdata.rst +++ b/docs/CommandGuide/llvm-profdata.rst @@ -51,7 +51,17 @@ OPTIONS .. option:: -instr (default) - Specify that the input profile is an instrumentation-based profile. + Specify that the input profile is an instrumentation-based profile. When + using instrumentation-based profiles, the format of the generated file + can be generated in one of the two ways: + + .. option:: -binary (default) + + Emit the profile using a binary encoding in indexed profile format. + + .. option:: -text + + Emit the profile in text format. .. option:: -sample @@ -121,6 +131,13 @@ OPTIONS Specify that the input profile is an instrumentation-based profile. +.. option:: -text + + Instruct the profile dumper to show profile counts in the text format of the + instrumentation-based profile data representation. By default, the profile + information is dumped in a more human readable form (also in text) with + annotations. + .. option:: -sample Specify that the input profile is a sample-based profile. |