diff options
author | Hongtao Yu <hoy@fb.com> | 2021-06-17 18:15:45 -0700 |
---|---|---|
committer | Hongtao Yu <hoy@fb.com> | 2021-06-18 12:13:53 -0700 |
commit | 8c2c97287eacda1ed9cbee893054d868e3b990c5 (patch) | |
tree | 5b1c105bf7ce2d3986bdb9d77445261eed9c1e5f /libcxx/include/__algorithm/includes.h | |
parent | 2e5dc4a1efe18a411734abb05b03431b120b1fea (diff) | |
download | llvm-8c2c97287eacda1ed9cbee893054d868e3b990c5.zip llvm-8c2c97287eacda1ed9cbee893054d868e3b990c5.tar.gz llvm-8c2c97287eacda1ed9cbee893054d868e3b990c5.tar.bz2 |
[CSSPGO][llvm-profgen] Ignore LBR records after interrupt transition
If we have seen an inwards transition from external code to internal code, but not a following outwards transition, the inwards transition is likely due to interrupt which is usually unpaired. Ignore current and subsequent entries since they are likely from an unrelated pre-interrupt context.
LBR records from different interrupt context are unrelated and they should not be mixed together. Currenlty the OS does this for task-scheduling interrupt but not for all interrupts.
Reviewed By: wenlei, wlei
Differential Revision: https://reviews.llvm.org/D104276
Diffstat (limited to 'libcxx/include/__algorithm/includes.h')
0 files changed, 0 insertions, 0 deletions