llvm.org GIT mirror llvm / release_36 docs / CommandGuide / llvm-profdata.rst
release_36

Tree @release_36 (Download .tar.gz)

llvm-profdata.rst @release_36view markup · raw · history · blame

llvm-profdata - Profile data tool

SYNOPSIS

:program:`llvm-profdata` command [args...]

DESCRIPTION

The :program:`llvm-profdata` tool is a small utility for working with profile data files.

COMMANDS

MERGE

SYNOPSIS

:program:`llvm-profdata merge` [options] [filenames...]

DESCRIPTION

:program:`llvm-profdata merge` takes several profile data files generated by PGO instrumentation and merges them together into a single indexed profile data file.

OPTIONS

SHOW

SYNOPSIS

:program:`llvm-profdata show` [options] [filename]

DESCRIPTION

:program:`llvm-profdata show` takes a profile data file and displays the information about the profile counters for this file and for any of the specified function(s).

If filename is omitted or is -, then llvm-profdata show reads its input from standard input.

OPTIONS

EXIT STATUS

:program:`llvm-profdata` returns 1 if the command is omitted or is invalid, if it cannot read input files, or if there is a mismatch between their data.