diff options
author | Sandipan Das <sandipan.das@amd.com> | 2022-08-11 18:00:00 +0530 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2022-08-27 00:05:45 +0200 |
commit | 93315e46b000fc80fff5d53c3f444417fb3df6de (patch) | |
tree | e0f87db286a0c398c45aac05387b06407942ca94 /.clang-format | |
parent | perf/x86/amd/lbr: Use fusion-aware branch classifier (diff) | |
download | linux-dev-93315e46b000fc80fff5d53c3f444417fb3df6de.tar.xz linux-dev-93315e46b000fc80fff5d53c3f444417fb3df6de.zip |
perf/core: Add speculation info to branch entries
Add a new "spec" bitfield to branch entries for providing speculation
information. This will be populated using hints provided by branch sampling
features on supported hardware. The following cases are covered:
* No branch speculation information is available
* Branch is speculative but taken on the wrong path
* Branch is non-speculative but taken on the correct path
* Branch is speculative and taken on the correct path
Suggested-by: Stephane Eranian <eranian@google.com>
Signed-off-by: Sandipan Das <sandipan.das@amd.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/834088c302faf21c7b665031dd111f424e509a64.1660211399.git.sandipan.das@amd.com
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions