Created
November 11, 2023 00:19
-
-
Save minglotus-6/f143079f02af243a94758138c0af471a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./bin/llvm-profdata show --help | |
OVERVIEW: LLVM profile data | |
SUBCOMMAND 'show': Takes a profile data file and displays the profiles | |
USAGE: llvm-profdata show [options] <profdata-file> | |
OPTIONS: | |
General options: | |
--all-functions - Details for each and every function | |
--binary-ids - Show binary ids in the profile. | |
--counts - Show counter values for shown functions | |
--covered - Show only the functions that have been executed. | |
--debug-info=<string> - For show, read and extract profile metadata from debug info and show the functions it found. For merge, use the provided debug info to correlate the raw profile. | |
--detailed-summary - Show detailed profile summary | |
--detailed-summary-cutoffs=<800000,901000,999999> - Cutoff percentages (times 10000) for generating detailed summary | |
--function=<string> - Details for matching functions. For overlapping CSSPGO, this takes a function name with calling context. | |
--hot-func-list - Show profile summary of a list of hot functions | |
--ic-targets - Show indirect call site target values for shown functions | |
--json - Show sample profile data in the JSON format (deprecated, please use --show-format=json) | |
--list-below-cutoff - Only output names of functions whose max count values are below the cutoff value | |
--max-debug-info-correlation-warnings=<uint> - The maximum number of warnings to emit when correlating profile from debug info (0 = no limit) | |
--memop-sizes - Show the profiled sizes of the memory intrinsic calls for shown functions | |
Profile kind supported by show: | |
--instr - Instrumentation profile (default) | |
--sample - Sample profile | |
--memory - MemProf memory access profile | |
--output=<output> - Output file | |
--profile-version - Show profile version. | |
--profiled-binary=<string> - Path to binary from which the profile was collected. | |
--show-format=<value> - Emit output in the selected format if supported | |
=text - emit normal text output (default) | |
=json - emit JSON | |
=yaml - emit YAML | |
--show-prof-sym-list - Show profile symbol list if it exists in the profile. | |
--show-sec-info-only - Show the information of each section in the sample profile. The flag is only usable when the sample profile is in extbinary format | |
--showcs - Show context sensitive counts | |
--temporal-profile-traces - Show temporal profile traces in the profile. | |
--text - Show instr profile data in text dump format | |
--topn=<uint> - Show the list of functions with the largest internal counts | |
--value-cutoff=<uint> - Set the count value cutoff. Functions with the maximum count less than this value will not be printed out. (Default is 0) | |
Generic Options: | |
--help - Display available options (--help-hidden for more) | |
--help-list - Display list of available options (--help-list-hidden for more) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment