summaryrefslogtreecommitdiffstats
path: root/llvm/docs/CommandGuide/llvm-profdata.rst
diff options
context:
space:
mode:
authorXinliang David Li <davidxl@google.com>2015-11-23 20:47:38 +0000
committerXinliang David Li <davidxl@google.com>2015-11-23 20:47:38 +0000
commit6f7c19a494fdf8aecf5053e4201f222eb1fa4bed (patch)
tree16f3ea4432e185a9285b43d8ddae679b11c079f5 /llvm/docs/CommandGuide/llvm-profdata.rst
parent243ea6a7d6d90eb52d3e30cb4a2b73d3fd428f88 (diff)
downloadbcm5719-llvm-6f7c19a494fdf8aecf5053e4201f222eb1fa4bed.tar.gz
bcm5719-llvm-6f7c19a494fdf8aecf5053e4201f222eb1fa4bed.zip
[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 llvm-svn: 253913
Diffstat (limited to 'llvm/docs/CommandGuide/llvm-profdata.rst')
-rw-r--r--llvm/docs/CommandGuide/llvm-profdata.rst19
1 files changed, 18 insertions, 1 deletions
diff --git a/llvm/docs/CommandGuide/llvm-profdata.rst b/llvm/docs/CommandGuide/llvm-profdata.rst
index 7053b7fa710..1d46fe75467 100644
--- a/llvm/docs/CommandGuide/llvm-profdata.rst
+++ b/llvm/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.
OpenPOWER on IntegriCloud