diff options
author | wlei <wlei@fb.com> | 2021-10-14 20:18:53 -0700 |
---|---|---|
committer | wlei <wlei@fb.com> | 2021-10-25 23:58:08 -0700 |
commit | a5f411b7f88caf1ef000a0397eb93d1a39d25690 (patch) | |
tree | cb2a3239138aae6684c7d2a015925bcc006ba670 /lldb/source/Commands/CommandObjectPlatform.cpp | |
parent | 9bbfe0f72c37a884c5a6c1654cc705258c5e2886 (diff) | |
download | llvm-a5f411b7f88caf1ef000a0397eb93d1a39d25690.zip llvm-a5f411b7f88caf1ef000a0397eb93d1a39d25690.tar.gz llvm-a5f411b7f88caf1ef000a0397eb93d1a39d25690.tar.bz2 |
[llvm-profgen] Allow unsymbolized profile as perf input
This change allows the unsymbolized profile as input. The unsymbolized profile is created by `llvm-profgen` with `--skip-symbolization` and it's after the sample aggregation but before symbolization , so it has much small file size. It can be used for sample merging and trimming, also is useful for debugging or adding test cases. A switch `--unsymbolized-profile=file-patch` is added for this.
Format of unsymbolized profile:
```
[context stack1] # If it's a CS profile
number of entries in RangeCounter
from_1-to_1:count_1
from_2-to_2:count_2
......
from_n-to_n:count_n
number of entries in BranchCounter
src_1->dst_1:count_1
src_2->dst_2:count_2
......
src_n->dst_n:count_n
[context stack2]
......
```
Reviewed By: hoy, wenlei
Differential Revision: https://reviews.llvm.org/D111750
Diffstat (limited to 'lldb/source/Commands/CommandObjectPlatform.cpp')
0 files changed, 0 insertions, 0 deletions