| commit | 52aa224affbf2559387e59d71ad809b4bd726e7a | [log] [tgz] |
|---|---|---|
| author | Rong Xu <xur@google.com> | Tue Jan 08 22:41:48 2019 +0000 |
| committer | Rong Xu <xur@google.com> | Tue Jan 08 22:41:48 2019 +0000 |
| tree | ff78b56173980a26d12ebb6ad959517cbb3b529d | |
| parent | d023dd60e944886a9d5a0b1dbf46f67d43293af8 [diff] |
[llvm-profdata] add value-cutoff functionality in show command
This patch improves llvm-profdata show command:
(1) add -value-cutoff=<N> option: Show only those functions whose max count
values are greater or equal to N.
(2) add -list-below-cutoff option: Only output names of functions whose max
count value are below the cutoff.
(3) formats value-profile counts and prints out percentage.
Differential Revision: https://reviews.llvm.org/D56342
llvm-svn: 350673