[all-commits] [llvm/llvm-project] ab5d65: [llvm-profgen] Ignore stack samples before aggrega...
ictwanglei via All-commits
all-commits at lists.llvm.org
Wed Oct 13 17:04:24 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ab5d65e6858b25fc07672a0bd2d07f666bde6b51
https://github.com/llvm/llvm-project/commit/ab5d65e6858b25fc07672a0bd2d07f666bde6b51
Author: wlei <wlei at fb.com>
Date: 2021-10-13 (Wed, 13 Oct 2021)
Changed paths:
M llvm/tools/llvm-profgen/PerfReader.cpp
Log Message:
-----------
[llvm-profgen] Ignore stack samples before aggregation
With `ignore-stack-samples`, We can ignore the call stack before the samples aggregation which could reduce some redundant computations.
Reviewed By: hoy, wenlei
Differential Revision: https://reviews.llvm.org/D111577
Commit: 30ca33eab00b8c815ef95fbb3a14e61dc3278b5b
https://github.com/llvm/llvm-project/commit/30ca33eab00b8c815ef95fbb3a14e61dc3278b5b
Author: wlei <wlei at fb.com>
Date: 2021-10-13 (Wed, 13 Oct 2021)
Changed paths:
A llvm/test/tools/llvm-profgen/Inputs/artificial-branch.perfscript
M llvm/test/tools/llvm-profgen/inline-noprobe2.test
M llvm/tools/llvm-profgen/PerfReader.cpp
Log Message:
-----------
[llvm-profgen] Ignore the whole trace with the leading external branch
The first LBR entry can be an external branch, we should ignore the whole trace.
```
7f7448e889e4 0x7f7448e889e4/0x7f7448e88826/P/-/-/1 0x7f7448e8899f/0x7f7448e889d8/P/-/-/4 ...
```
Reviewed By: wenlei, hoy
Differential Revision: https://reviews.llvm.org/D111749
Compare: https://github.com/llvm/llvm-project/compare/4fcc0ac15e05...30ca33eab00b
More information about the All-commits
mailing list